kubefunc
kubefunc copied to clipboard
Plugin debug-shell its not working
kubectl debug-shell
error: --rm should only be used for attached containers
See 'kubectl run -h' for help and examples
@rafilkmp3 Try this:
kubectl debug ${NAME_OF_A_RUNNING_POD} -it --image=alpine:latest --namespace ${POD_NAMESPACE}
Not stated in the docs but the cluster must have support for ephemeral containers
.