临时容器

参考官方文档

1
https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/

因为还是实验功能 1.16 +,需要 --feature-gates=EphemeralContainers=true

临时容器 : 在原有的 pod 上,添加一个临时的 container, 这个 container 可以包含很多需要使用到的排查工具,比如使用 busybox