Closed de13 closed 4 years ago
You can use role.node.kubernetes.io/worker=
/assign
I've read the enhancements page, and also tried role.node.kubernetes.io/worker=""
but this last one has no effect on node role:
$ kubectl label node kube-2 role.node.kubernetes.io/worker=""
node/kube-2 labeled
$ kubectl get node kube-2
NAME STATUS ROLES AGE VERSION
kube-2 Ready <none> 7m16s v1.16.2
$ kubectl label node kube-2 node-role.kubernetes.io/worker=""
node/kube-2 labeled
$ kubectl get node kube-2
NAME STATUS ROLES AGE VERSION
kube-2 Ready worker 7m59s v1.16.2
So it should be nice to have node-role in the list of proposals.
This repo is deprecated. Please reopen the issue here: https://github.com/kubernetes-sigs/cluster-api if you feel this is in scope for cluster-api.
/close
@chuckha: Closing this issue.
/kind bug
/kind bug
What steps did you take and what happened:
Kubelet in unhealthy state when using this JoinConfiguration. I have the following error:
However, manually putting this label on the node works.
What did you expect to happen:
Node labeled with
node-role.kubernetes.io/worker=
Anything else you would like to add:
Othe kind of labels works fine
foo=bar
node.kubernetes.io/worker=
but node-role doesn't work.Environment:
kubectl version
): v1.16.2/etc/os-release
): Debian 9.11Environment:
kubectl version
): 1.16.2/etc/os-release
): Debian 9.11