Skip to content

Instantly share code, notes, and snippets.

@Niraj-Fonseka
Created September 9, 2019 20:12
Show Gist options
  • Save Niraj-Fonseka/51523efe03b566cd8dcb96a17649484b to your computer and use it in GitHub Desktop.
Save Niraj-Fonseka/51523efe03b566cd8dcb96a17649484b to your computer and use it in GitHub Desktop.
#!/bin/sh
echo " ---- Getting credentials for the hd-engineering cluster ---- "
gcloud container clusters get-credentials hd-engineering-cluster --zone us-central1-a --project hd-engineering
echo " ---- Creating a ephemeral pod in the retooling cluster ---- "
echo " ---- run -> telnet internalhostip 6379 to connect to the memorystore instance "
kubectl -n retooling run memorystore-proxy --rm -i --tty --image us.gcr.io/hd-engineering/memorystore-proxy -- bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment