标签:dep logs span exec family bec bsp cal mil
问题排查一 从describe去查找相应的deploy/pod/rs/svc
[root@k8s-master ~]# kubectl describe po/nginx-f95d765f9-8b6bp
[root@k8s-master ~]# kubectl describe deploy/nginx
[root@k8s-master ~]# kubectl describe svc
问题排查二 从pod的logs日志排查
[root@k8s-master ~]# kubectl logs nginx-f95d765f9-cfm6d
问题排查三 进入pod查看应用排查
[root@k8s-master ~]# kubectl exec -it nginx-f95d765f9-cfm6d bash
root@nginx-f95d765f9-cfm6d:/# ps -ef
标签:dep logs span exec family bec bsp cal mil
原文地址:https://www.cnblogs.com/zc1741845455/p/11150512.html