Good post. I have tried to get "kubectl debug" and before "kubectl alpha debug" to work without success. I believe I had a versioning issue between kubectl and my cluster instance but I'm not certain. I'll go through this post slowly and retry. I had no issue enabling the feature gate. But when I finally did the kubectl (alpha) debug, the pod yaml did get modified with an ephemeral container section.....but it was like the ephemeral image was not being pulled.....but no error anywhere.
Upgrading to the latest kubectl 1.21.1, and trying it again, I got an error that imagepullpolicy was a required field, and on this version of kubectl the pod yaml was not modified. So I got stumped at that point.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Good post. I have tried to get "kubectl debug" and before "kubectl alpha debug" to work without success. I believe I had a versioning issue between kubectl and my cluster instance but I'm not certain. I'll go through this post slowly and retry. I had no issue enabling the feature gate. But when I finally did the kubectl (alpha) debug, the pod yaml did get modified with an ephemeral container section.....but it was like the ephemeral image was not being pulled.....but no error anywhere.
Upgrading to the latest kubectl 1.21.1, and trying it again, I got an error that imagepullpolicy was a required field, and on this version of kubectl the pod yaml was not modified. So I got stumped at that point.