Master enable worker role!

Hi! I try to find how to show in my Kubernetes cluster node parameter worker.
I use command

kubectl get nodes --show-labels

test-kuberm1 Ready master 292d v1.11.2 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/hostname=test-kuberm1,node-role
.kubernetes.io/master=
test-kubern1 Ready 292d v1.11.2 beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/hostname=test-kubern1

but I don’t see worker=true
kubectl get nodes -l node-role.kubernetes.io/worker=true

I want to add to cluster Master worker role.
If I execute :: kubectl taint nodes --all node-role.kubernetes.io/master-
Is it enough for the master to start placing all the PODs?

Cluster information:

Kubernetes version:1.11.2
Installation method:
Host OS: Ubuntu 18.02
CNI and version:
CRI and version:

If you’re just trying to get the pods to run on the master then that should be good. Assuming this is just for testing purposes?

Yes, for test environment only. To save resources.:smiley:

1 Like

Then you’re good to just remove the taint. Let me known if anything goes wrong :blush: