When you taint a node, it will repel all the pods except those that have a toleration for that taint. Taints are added to nodes, while tolerations are defined in the pod specification. Taints and tolerations are a mechanism that allows you to ensure that pods are not placed on inappropriate nodes. In this article, we describe taints and tolerations and then use an example to illustrate how to use them to place pods on specific worker nodes while avoiding the nodes where you don’t want pods to get scheduled. There are many options for placing those application containers into different, separate node groups, one of which is through the use of taints and tolerations. They may also need to address certain special constraints on the Kubernetes cluster for example, some pods may require special hardware, colocation with other specific pods, or isolation from others. Organizations and teams often need multi-tenant, heterogeneous Kubernetes clusters to meet users’ application needs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |