We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 373155f commit 9e2bc7bCopy full SHA for 9e2bc7b
kubectl-node_shell
@@ -5,7 +5,7 @@ if [ -z "$1" ]; then
5
fi
6
7
NODE="$1"
8
-IMAGE="alpine"
+IMAGE="docker.io/library/alpine"
9
POD="nsenter-$(env LC_ALL=C tr -dc a-z0-9 < /dev/urandom | head -c 6)"
10
NAMESPACE=""
11
@@ -36,4 +36,4 @@ EOT
36
)"
37
38
echo "spawning \"$POD\" on \"$NODE\""
39
-kubectl run --namespace "$NAMESPACE" --rm --image alpine --overrides="$OVERRIDES" --generator=run-pod/v1 -ti "$POD"
+kubectl run --namespace "$NAMESPACE" --rm --image "$IMAGE" --overrides="$OVERRIDES" --generator=run-pod/v1 -ti "$POD"
0 commit comments