Created
July 15, 2020 00:44
-
-
Save superbrothers/8894cf9f57805064477a2edf8b29f76c 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
# 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