简体   繁体   中英

About deploying Pods to Master in Kubernetes

Im newbie with Kubernetes. And I have 3 nodes cluster (1 master). I realized when I deploy pods, Kubernetes deploy them on worker nodes and not on master.

Just a few pods on master node which are used by Kubernetes. Does it make sense to deploy pods on the master node? Or do I avoid it?

Deploying workload pods on master nodes is a way to put your whole cluster at risk

Primary role of master is cluster management. Already many components of k8 are running on master.Suppose If pods scheduled on master without limit of resources and pods are consuming all the resources( cpu or memory), then master and in turn whole cluster will be at risk.

So while designing Highly Available production cluster minimum 3 master, 3 etcd node are created and application pods are not scheduled on these nodes. Separate worker nodes added to assign workload

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM