Setting up Gremlin credentials

To connect to Gremlin services from our Kubernetes cluster, we will need to store our Gremlin credentials as a Kubernetes Secret. 

Let's perform the following steps to configure our Gremlin credentials:

  1. Log in to the Gremlin service at https://app.gremlin.com/.
  2. From the account menu, click on Company Settings:

  1. Click on the Teams tab and select your team:

  1. Click on the Configuration tab and download your certificates:

  1. Copy the certificates.zip file to your host where kubectl has been configured.
  2. Extract the files:
$ unzip certificate.zip
  1. Rename the certificate files accordingly:
$ mv Me-client.pub_cert.pem gremlin.cert && mv Me-client.priv_key.pem gremlin.key
  1. Create a Secret resource in your cluster:
$ kubectl create secret generic gremlin-team-cert --from-file=./gremlin.cert --from-file=./gremlin.key

With that, we have converted our credentials into secret resources in Kubernetes. This secret will be used later to connect Gremlin to our cluster.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.189.199