This message was deleted.
# general
a
This message was deleted.
h
since this is imported cluster; what does
kubectl get nodes
show you
b
This is what I see
s
Labeling the node as
master
should be enough:
Copy code
kubectl label node $yournode <http://node-role.kubernetes.io/master=""|node-role.kubernetes.io/master="">
b
I can label it whatever I wish right? It's the role I'm talking about.
s
Yes, but the field
<http://node-role.kubernetes.io|node-role.kubernetes.io>
is a reserved label name an will be checked for displaying it in the roles field. If
master
doesn't work you can also try
controlplane <https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/checklist-for-production-ready-clusters/roles-for-nodes-in-kubernetes#controlplane|https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/checklist-for-production-ready-clusters/roles-for-nodes-in-kubernetes#controlplane>