The master node is responsible for running several Kubernetes processes that are absolutely necessary to run and manage the cluster properly. 1(https://www.educative.io/edpresso/what-is-kubernetes-cluster-what-are-worker-and-master-nodes) The worker nodes are the part of the Kubernetes clusters which actually execute the containers and applications on them. 1(https://www.educative.io/edpresso/what-is-kubernetes-cluster-what-are-worker-and-master-nodes)
Worker nodes are generally more powerful than master nodes because they have to run hundreds of clusters on them. However, master nodes hold more significance because they manage the distribution of workload and the state of the cluster. 1(https://www.educative.io/edpresso/what-is-kubernetes-cluster-what-are-worker-and-master-nodes)
By removing taint you will be able to schedule pods on that node. You should firstly check the present taint by running:
kubectl describe node <nodename> | grep Taints
In case the present one is master node you should remove that taint by running:
3条答案
按热度按时间a0zr77ik1#
node-role.kubernetes.io/master:NoSchedule
污点,以便可以在该(主)节点上调度pod。命令如下:
b1zrtrql2#
The master node is responsible for running several Kubernetes processes that are absolutely necessary to run and manage the cluster properly. 1(https://www.educative.io/edpresso/what-is-kubernetes-cluster-what-are-worker-and-master-nodes)
The worker nodes are the part of the Kubernetes clusters which actually execute the containers and applications on them. 1(https://www.educative.io/edpresso/what-is-kubernetes-cluster-what-are-worker-and-master-nodes)
Worker nodes are generally more powerful than master nodes because they have to run hundreds of clusters on them. However, master nodes hold more significance because they manage the distribution of workload and the state of the cluster. 1(https://www.educative.io/edpresso/what-is-kubernetes-cluster-what-are-worker-and-master-nodes)
By removing taint you will be able to schedule pods on that node.
You should firstly check the present taint by running:
In case the present one is master node you should remove that taint by running:
References: [1] - What is Kubernetes cluster? What are worker and master nodes?
See also:
rjee0c153#