k8s 进行pod级的抓包

1 列出待抓包的pod 及分布在哪些节点上

[root@iZbp18at9sb674mrpzdu60Z ~]# kubectl  get pod -l app=sso-gateway2 -o wide 
NAME                                       READY   STATUS    RESTARTS   AGE    IP            NODE           NOMINATED NODE   READINESS GATES
sso-gateway2-deployment-5c48bc855b-gqb5t   1/1     Running   0          123m   172.20.0.65   172.16.0.217   <none>           <none>
[root@iZbp18at9sb674mrpzdu60Z ~]#

你可能感兴趣的:(容器技术,k8s,kubernetes)