Install Gremlin on OpenShift 4
Download authentication keys
Gremlin requires authentication during installation. You will need to download your Gremlin certificate key-pair in order to connect to your Gremlin team. With the key pair extracted to your local system, export the following variables into a local shell, supplying the appropriate values.
Install Gremlin SELinux policy
As Openshift uses SELinux, Gremlin requires a custom SELinux policy to grant the minimal permissions needed. You can install either Using SSH, or Using Gremlin Machine Config Operator as documented below. Learn more about Gremlin's integration with SELinux on the policy's Github page. There are two methods to install the Gremlin SELinux Policy: Using SSH or Using Gremlin Machine Config Operator.
On every OpenShift node, run the following command to install the SELinux module
Using Gremlin Machine Config Operator
Gremlin provides an open-source Machine Config Operator (MCO) for installing the Gremlin SELinux policy to Worker nodes using the Openshift 4 Command-Line Interface (CLI). The MCO files and instructions are available from the Gremlin Field Solutions GitHub repository.
If any of your OpenShift pods require an HTTP proxy for connecting to the internet, and you plan to target these pods within Gremlin, we recommend that you configure Gremlin to run behind the same proxy.
To install with Helm, log into the OpenShift cluster and run the following:
You can now run experiments on your cluster, including Kubernetes experiments.
For common issues and solutions, see Troubleshooting Gremlin on OpenShift.