Войти
  • 6612Просмотров
  • 5 лет назадОпубликованоkubetrain

Controlling Pod Scheduling with Kubernetes Taints and Tolerations

This video explains how to use Kubernetes Taints and Tolerations to control where pods are scheduled on your nodes. We'll show you how to apply a taint to a node to repel pods and how to use a toleration in a pod's configuration to allow it to be scheduled on that same tainted node. Video Highlights: Tainting a Node: Applying a taintkey1=taintvalue1:NoSchedule taint to a node [00:44]. Deployment Without Toleration: Demonstrating how pods are not scheduled on a tainted node [02:27]. Adding Toleration: Modifying a deployment to include a toleration for the node's taint [04:10]. Deployment With Toleration: Showing how pods are successfully scheduled on the tainted node after adding the toleration [06:27]. You can find the video here: