How can I list the taints on Kubernetes nodes?

前端 未结 11 1537
别那么骄傲
别那么骄傲 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:06

    To find taints of node can just run:

    kubectl describe nodes your-node-name
    

    Output:

    Name:                   your-node-name
    ...
    Taints:                 node-role.kubernetes.io/master:NoSchedule
    CreationTimestamp:      Wed, 19 Jul 2017 06:00:23 +0800
    

提交回复
热议问题