Difference between revisions of "Kubectl debug"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
<code>[[kubectl]] debug</code> (since [[v1.18]], March 2020) | <code>[[kubectl]] debug</code> (since [[v1.18]], March 2020) | ||
− | [[kubectl debug]] -it ephemeral-demo --image=[[busybox]] | + | [[kubectl debug]] -it ephemeral-demo --image=[[busybox]] [[--target]]=ephemeral-demo |
+ | |||
+ | [[kubectl debug]] -it ephemeral-demo --image=[[ubuntu]] [[--target]]=ephemeral-demo | ||
Revision as of 07:41, 20 September 2023
kubectl debug
(since v1.18, March 2020)
kubectl debug -it ephemeral-demo --image=busybox --target=ephemeral-demo
kubectl debug -it ephemeral-demo --image=ubuntu --target=ephemeral-demo
Activities
Related
See also
- K8s troubleshooting:
kubectl logs, kubectl top, kubectl get events -A, kubectl describe pod
, Liveness, Readiness,Kubernetes events
, Pulling image, OOMKilled, ProbeWarning, Reason,FailedScheduling
,errImagePull, ImagePullBackOff
, Kubelet conditions:MemoryPressure, DiskPressure, KubeletHasSufficientPID, KubeletReady, kubectl [ debug | attach | exec ] kubectl cluster-info dump, SimKube, KWOK
Advertising: