Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save superbrothers/8894cf9f57805064477a2edf8b29f76c to your computer and use it in GitHub Desktop.
Save superbrothers/8894cf9f57805064477a2edf8b29f76c to your computer and use it in GitHub Desktop.
# Create a minikube cluster
minikube start
# Install kubectl-debug_ns plugin
TMPDIR="$(mktemp -d)"
curl -L -o "${TMPDIR}/kubectl-debug_node" https://raw.githubusercontent.com/superbrothers/kubectl-plugins/master/kubectl-debug_node
chmod +x "${TMPDIR}/kubectl-debug_node"
export PATH="$TMPDIR:$PATH"
# Create a debugging pod for node/minikube
kubectl debug-node minikube
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment