查看POD内几个容器

查看POD中几个容器

kubectl get pod <pod-name> -o jsonpath='{.spec.containers[*].name}'