Created
November 25, 2019 16:52
-
-
Save allenmichael/14260af809bd1d01205a815b7a41015b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
helm init --service-account tiller | |
helm repo add gremlin https://helm.gremlin.com | |
# Under the Configurations tab, download and copy your Gremin Certificates key and cert onto the EC2 bastion host. | |
# Be sure to name your files gremlin.cert and gremlin.key. | |
# See this documentation for more info on retrieving the Gremlin Certificates: | |
# https://www.gremlin.com/docs/infrastructure-layer/authentication/#downloading-the-certificate | |
# You can alternatively use vim | |
nano gremlin.cert | |
nano gremlin.key | |
kubectl create secret generic gremlin-team-cert \ | |
--namespace=gremlin \ | |
--from-file=./gremlin.cert \ | |
--from-file=./gremlin.key | |
# Retrieve your Gremlin Team ID from this link: | |
# https://app.gremlin.com/settings/teams | |
GREMLIN_TEAM_ID=<YOUR_TEAM_ID> | |
GREMLIN_CLUSTER_ID=$(aws eks list-clusters --region us-east-1 --query clusters[0] --output text) | |
helm install \ | |
--namespace gremlin \ | |
--name gremlin \ | |
gremlin/gremlin \ | |
--set gremlin.teamID=$GREMLIN_TEAM_ID \ | |
--set gremlin.clusterID=$GREMLIN_CLUSTER_ID | |
kubectl get all -n gremlin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment