Kubernetes API - gets Pods on specific nodes

前端 未结 6 1204
故里飘歌
故里飘歌 2020-12-23 00:40

Looking at http://kubernetes.io/docs/user-guide/labels/#selecting-sets-of-nodes it looks to be possible to select a certain range of pods based on labels. But in my case I w

6条回答
  •  悲哀的现实
    2020-12-23 00:53

    You also can query for all pods an a node with the following command

    kubectl get pods -o wide --all-namespaces | grep 
    

提交回复
热议问题