Difference between revisions of "Kubernetes debugging with an ephemeral debug container"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
== See also == | == See also == | ||
* {{K8s tr}} | * {{K8s tr}} | ||
+ | |||
+ | [[Category:K8s]] |
Latest revision as of 08:28, 23 October 2023
kubectl run ephemeral-demo --image=registry.k8s.io/pause:3.1 --restart=Never
kubectl debug -it ephemeral-demo --image=busybox:1.28 --target=ephemeral-demo
See also[edit]
- 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: