Skip to content

Instantly share code, notes, and snippets.

@Staggerlee011
Created March 6, 2020 20:35
Show Gist options
  • Save Staggerlee011/e89f224151be78380634d51f14a3255d to your computer and use it in GitHub Desktop.
Save Staggerlee011/e89f224151be78380634d51f14a3255d to your computer and use it in GitHub Desktop.
k8s cheatsheet
## testing with busybox (runs interactive shell in busybox pod in your namespace. dies on exit.)
kubectl run -i --tty busybox --image=busybox --restart=Never -- sh
### in busybox command prompt you can test mysql connection with
<servicename> <seriveport>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment