Skip to content

Instantly share code, notes, and snippets.

@peterszatmary
Last active February 13, 2023 14:02
Show Gist options
  • Save peterszatmary/51e045cf58f62fe7e5fdde287eca6cee to your computer and use it in GitHub Desktop.
Save peterszatmary/51e045cf58f62fe7e5fdde287eca6cee to your computer and use it in GitHub Desktop.
# Run Kubernetes dashboard GUI interface on your-ip:your-favourite-port with proxy
kubectl proxy --address=<your-ip> --port=<your-favourite-port> --accept-hosts=.*
kubectl get deployments
kubectl get services
kubectl get pods
...
kubectl delete deployment <>
kubectl delete pod <>
# create namespace
kubectl create -f darwin-preprod-env.json
# switch context
kubectl config set current-context <cluster_name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment