Kubernetes Alpha Debug command

3/28/2020

I'm trying the debug CLI feature on 1.18 release of Kubernetes but I have an issue while I have executed debug command.

I have created a pod show as below.

kubectl run ephemeral-demo --image=k8s.gcr.io/pause:3.1 --restart=Never

After than when running this command: kubectl alpha debug -it ephemeral-demo --image=busybox --target=ephemeral-demo

Kubernetes is hanging like that :

Defaulting debug container name to debugger-aaaa.

How Can I resolve that issue?

-- Ayhan Balik
kubernetes

1 Answer

5/7/2020

I'm seeing similar behaviour. Although i'm running 1.17 k8s with 1.18 kubectl. But I was under the impression that the feature was added in 1.16 in k8s and in 1.18 in kubectl.

-- niko
Source: StackOverflow