How can I list the taints on Kubernetes nodes?

前端 未结 11 1641
别那么骄傲
别那么骄傲 2021-01-30 08:47

The docs are great about explaining how to set a taint on a node, or remove one. And I can use kubectl describe node to get a verbose description of one node, inclu

11条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-30 09:09

    Try this one:

        kubectl get nodes -o=custom-columns=NAME:.metadata.name,TAINTS:.spec.taints
    

提交回复
热议问题