Last active
January 25, 2018 22:47
-
-
Save aliakhtar/244141fa814a3be8b8c5c5673810def9 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
#!/usr/bin/env bash | |
# Helper script to describe the specified pod. Usage: describe.sh <pod name> | |
kubectl describe po $1 -n <gig name here> |
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
#!/usr/bin/env bash | |
# Helper script to get the logs of the specified pod. Usage: log.sh <pod name> | |
kubectl logs -f $1 -n <gig name here> |
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
#!/usr/bin/env bash | |
# Helper script to get the current pod from the deployment. | |
kubectl get po -n <gig name here> |
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
#!/usr/bin/env bash | |
# Helper script to ssh into the specified pod. Usage: ssh.sh <pod name> | |
kubectl exec -it $1 -n <gig name here> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment