K8s Node节点ROLES显示修改
K8s Node节点ROLES为<none>修改方法:kubectl label nodes k8s-node1.hikvision.com node-role.kubernetes.io/worker=worker
·
K8s Node节点ROLES为<none>
添加label语法:
kubectl label nodes <node-name> <label-key>=<label-value>
修改实例:
kubectl label nodes k8s-node1.hikvision.com node-role.kubernetes.io/worker=worker
删除label语法:
kubectl label nodes <node-name> <label-key>-
删除实例:
kubectl label nodes k8s-node1.hikvision.com node-role.kubernetes.io/worker-
更多推荐
已为社区贡献10条内容
所有评论(0)