killgrave
A chart to install [killgrave](https://github.com/friendsofgo/killgrave), a simulator for HTTP-based APIs. In its more basic setup, this chart requires a `configmap` including all _imposters_ (the definition of a request-response pair)
About this chart
killgrave
A chart to install killgrave, a simulator for HTTP-based APIs.
In its more basic setup, this chart requires a configmap including all imposters (the definition of a request-response pair)
How to install this chart
A simple install with default values, latest chart version and generated name:
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/killgrave
To install a specific version of this chart:
helm install --generate-name oci://ghcr.io/deliveryhero/helm-charts/killgrave --version 1.0.2
To install the chart with the release name my-release:
helm install my-release oci://ghcr.io/deliveryhero/helm-charts/killgrave
To install with some set values:
helm install my-release oci://ghcr.io/deliveryhero/helm-charts/killgrave --set values_key1=value1 --set values_key2=value2
To install with custom values file:
helm install my-release oci://ghcr.io/deliveryhero/helm-charts/killgrave -f values.yaml
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| hpa.enabled | bool | false | |
| hpa.maxReplicas | int | 100 | |
| hpa.minReplicas | int | 1 | |
| hpa.targetCPUUtilizationPercentage | int | 80 | |
| hpa.targetMemoryUtilizationPercentage | bool | false | Set it to false in case you don't want to scale by memory consumption |
| ingress.annotations | object | {} | |
| ingress.className | string | "" | |
| ingress.enabled | bool | false | |
| ingress.hosts | list | [] | |
| ingress.tls | list | [] | |
| labels | object | {} | Any extra label to apply to all resources |
| mock.imposters.configmap | string | "example-imposters" | The name of the configmap containing all your imposters |
| mock.imposters.path | string | "/imposters" | The mounting path for your imposters folder |
| mock.killgrave.secure | bool | false | If killgrave server must be configured to run using TSL |
| mock.killgrave.tag | string | "0.4.1" | The image tag to use |
| mock.schemas.configmap | string | "example-schemas" | The name of the configmap containing your schemas' folder. |
| mock.schemas.path | string | "/schemas" | The mounting path for your schemas folder |
| nameOverride | string | "" | Set it in case you want to override the name of the deployment. By default it is set to .Chart.Name |
| nodeSelector | object | {} | |
| replicaCount | int | 1 | Set the number of replicas in case hpa is not enabled |
| resources | object | {} | |
| service.port | int | 8080 | |
| service.type | string | "NodePort" | |
| tolerations | list | [] |
Maintainers
| Name | Url | |
|---|---|---|
| MarceloAplanalp | [email protected] |
Chart source and versions
Chart source: github.com/deliveryhero/helm-charts/killgrave
Older chart versions: github.com/deliveryhero/helm-charts/pkgs/container/helm-charts/killgrave
Deploy killgrave with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has killgrave on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartkillgrave is pinned at v1.0.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply