handsome-salesclerk-54324
03/22/2023, 1:18 PMrich-cartoon-70161
03/22/2023, 4:45 PMhandsome-salesclerk-54324
03/23/2023, 3:20 PMrefined-analyst-8898
03/24/2023, 12:03 AMwget
command inside the busybox
image in a one-off container.
$ kubectl run --stdin --tty --rm busybox --image=<http://quay.io/quay/busybox|quay.io/quay/busybox> --restart=Never -- wget --quiet --output-document=- <http://eth0.me>
If you don't see a command prompt, try pressing enter.
62.214.79.53
pod "busybox" deleted
ref: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#runwget
and everything after it with sh
then you would have an interactive Bourne shell running in a container in your cluster.