· ☕ 1 分钟
kubectl debug https://kubernetes.io/docs/tasks/debug-application-cluster/debug-running-pod/#ephemeral-container
https://towardsdatascience.com/the-easiest-way-to-debug-kubernetes-workloads-ff2ff5e3cc75
1 2 3 kubectl explain pod.spec.ephemeralContainers kubectl debug -it ephemeral-demo --image=busybox --target=ephemeral-demo Process Namespace Sharing https://towardsdatascience.com/the-easiest-way-to-debug-kubernetes-workloads-ff2ff5e3cc75
kubectl debug -it some-app –image=busybox –share-processes –copy-to=some-app-debug