killgrave

by Delivery Hero

Helm chartv1.0.2App 0.4.1Verified publisher

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

KeyTypeDefaultDescription
affinityobject{}
hpa.enabledboolfalse
hpa.maxReplicasint100
hpa.minReplicasint1
hpa.targetCPUUtilizationPercentageint80
hpa.targetMemoryUtilizationPercentageboolfalseSet it to false in case you don't want to scale by memory consumption
ingress.annotationsobject{}
ingress.classNamestring""
ingress.enabledboolfalse
ingress.hostslist[]
ingress.tlslist[]
labelsobject{}Any extra label to apply to all resources
mock.imposters.configmapstring"example-imposters"The name of the configmap containing all your imposters
mock.imposters.pathstring"/imposters"The mounting path for your imposters folder
mock.killgrave.secureboolfalseIf killgrave server must be configured to run using TSL
mock.killgrave.tagstring"0.4.1"The image tag to use
mock.schemas.configmapstring"example-schemas"The name of the configmap containing your schemas' folder.
mock.schemas.pathstring"/schemas"The mounting path for your schemas folder
nameOverridestring""Set it in case you want to override the name of the deployment. By default it is set to .Chart.Name
nodeSelectorobject{}
replicaCountint1Set the number of replicas in case hpa is not enabled
resourcesobject{}
service.portint8080
service.typestring"NodePort"
tolerationslist[]

Maintainers

NameEmailUrl
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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkillgrave is pinned at v1.0.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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