Saturday, October 19, 2019

Kubernetes: Set a node as worker

1. Get the current roles
# kubectl get nodes

2. Set the new role
# kubectl label nodes ${NODE_NAME} node-role.kubernetes.io/worker=worker

3. See the new changes
# kubectl get nodes

No comments:

Post a Comment