- Published on
kubernetes 官方有 debug 命令了
- Authors
- Name
- Hao Chen
- @haoel
Content
1.18 官方有debug命令了,不需要外部工具。
https://kubernetes.io/docs/tasks/debug-application-cluster/debug-running-pod/#ephemeral-container
不过还在alpha阶段
Link Preview
- https://kubernetes.io/docs/tasks/debug-application-cluster/debug-running-pod/
- Debug Running Pods
- This page explains how to debug Pods running (or crashing) on a Node. Before you begin Your Pod should already be scheduled and running. If your Pod is not yet running, start with Debugging Pods. For some of the advanced debugging steps you need to know on which Node the Pod is running and have shell access to run commands on that Node. You don't need that access to run the standard debug steps that use kubectl.