Installing Gremlin on Kubernetes

The easiest way to install Gremlin on Kubernetes is by using Helm charts. Make sure you have created a gremlin team cert secret, as described in the Setting up Gremlin credentials recipe, before you proceed.

Let's perform the following steps to install Gremlin using Helm charts:

  1. Add the Gremlin Helm repository:
$ helm repo add gremlin https://helm.gremlin.com
  1. Update the repositories:
$ helm repo update
  1. Install the Gremlin client using your Team ID:
$ helm install --name gremlin --set gremlin.teamID=abc1234-a12b-1234-1234-abcdefgh gremlin/gremlin
  1. Gremlin will create a DaemonSet that will run on every node in your cluster. Validate that the DESIRED and AVAILABLE pods are equal:
$ kubectl get daemonsets
NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
gremlin 3 3 3 3 3 <none> 11m

Gremlin is running in your cluster. Next, we need to trigger some chaos through our Gremlin account.