Scheduling and nodesLesson 5 of 10
- Requests, limits and quotas, not reconciled
- QoS classes and node-pressure eviction, not reconciled
- cgroups, memory pressure and the OOM killer, not reconciled
- How the scheduler places a pod, not reconciled
- Affinity, taints and tolerations, not reconciled
- Topology spread constraints, not reconciled
- Priority and preemption, not reconciled
- Nodes and the kubelet, not reconciled
- Disruptions and PodDisruptionBudgets, not reconciled
- Cluster autoscaling, not reconciled
Affinity, taints and tolerations
Node selectors and affinity pull pods toward nodes, pod affinity places pods relative to each other, and taints push pods away unless they tolerate them. Learn to combine them into dedicated nodes and to retire a node with NoExecute.
Shows the lesson one block at a time. Arrow keys step, number keys jump to a scene, and Escape returns to the page where you were.
Reconcile, in 7 scenes
nodeSelector
Placement controls come in two directions. Some pull a pod toward nodes with particular labels; others push pods away from nodes unless the pod opts in. Every one of them is evaluated by a scheduler plugin you met in the previous lesson, and all of them act only when the pod is scheduled, except a NoExecute taint, which also removes running pods.
The simplest pull is nodeSelector, a map of labels a node must carry, all of them, for the pod to land there:
apiVersion: v1
kind: Pod
metadata:
name: indexer
spec:
nodeSelector:
disk: ssd
containers:
- name: app
image: ghcr.io/kx-labs/web:1.1
Nodes carry well-known labels from the start: kubernetes.io/hostname, kubernetes.io/os, kubernetes.io/arch, and on cloud nodes topology.kubernetes.io/zone, topology.kubernetes.io/region and node.kubernetes.io/instance-type. Anything else you add with kubectl label nodes. A pod whose selector matches no node is Pending, and it is scheduled the moment a node gains the label:
kubectl apply -f select.yaml
pod/indexer created
kubectl get events --field-selector reason=FailedScheduling
LAST SEEN TYPE REASON OBJECT MESSAGE 0s Warning FailedScheduling pod/indexer 0/4 nodes are available: 1 node(s) had untolerated taint(s), 3 node(s) didn't match Pod's node affinity/selector. preemption: 0/4 nodes are available: 4 Preemption is not helpful for scheduling.
kubectl label nodes kx-worker2 disk=ssd
node/kx-worker2 labeled
kubectl wait --for=condition=Ready pod/indexer --timeout=60s
pod/indexer condition met
kubectl get pod indexer -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES indexer 1/1 Running 0 4s 10.244.2.2 kx-worker2 <none> <none>
The label change is the cluster event that sends the pod out of the unschedulable pods and back for another attempt. Removing the label afterwards changes nothing for the running pod.
Node affinity
node affinityRules in spec.affinity.nodeAffinity that match node labels with operators, either as a hard requirement or as a weighted preference. is nodeSelector with a richer language and a soft form:
apiVersion: v1
kind: Pod
metadata:
name: analytics
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: node-role.kubernetes.io/control-plane
operator: DoesNotExist
- key: kubernetes.io/arch
operator: In
values: [amd64, arm64]
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 80
preference:
matchExpressions:
- key: disk
operator: In
values: [ssd]
- weight: 20
preference:
matchExpressions:
- key: cpu-generation
operator: Gt
values: ["5"]
containers:
- name: app
image: ghcr.io/kx-labs/web:1.1
Required rules are filters, checked by the NodeAffinity plugin exactly like nodeSelector. The logic has two levels: nodeSelectorTerms are ORed, and the matchExpressions inside one term are ANDed. A node passes if it satisfies every expression of any one term. If a pod has both a nodeSelector and required node affinity, the node must satisfy both.
Preferred rules are scores. Each preference has a weight from 1 to 100; for every node that passed the filters, the scheduler adds up the weights of the preferences it satisfies, and that sum joins the other plugins’ scores. A node matching nothing preferred is still a valid choice, so a preference never leaves a pod Pending.
The operators:
| Operator | A node matches when |
|---|---|
In | the label’s value is one of values |
NotIn | the label’s value is none of values, or the label is absent |
Exists | the label is present, whatever its value |
DoesNotExist | the label is absent |
Gt, Lt | the label’s value, read as an integer, is greater or less than the single value given |
NotIn and DoesNotExist give you node anti-affinity: “not on the control plane”, “not on spot capacity”. Gt and Lt compare integers only, which suits labels like a hardware generation or a count of local disks.
IgnoredDuringExecution, in both field names, is a promise about running pods: if a node’s labels change after the pod is bound, the pod stays. Nothing evicts a pod for no longer matching its node affinity.
Reach for nodeSelector when one or two exact labels say everything, and for node affinity when you need alternatives, exclusions or preferences. Preferences suit choices that must not cost availability: prefer on-demand capacity but accept spot, prefer the newest hardware but accept any. Keep the required part small. Every required expression shrinks the set of feasible nodes, and a rule that only a few nodes satisfy turns an outage of those nodes into Pending pods. A scheduling profile can also add node affinity to every pod it schedules, through the NodeAffinity plugin’s addedAffinity argument, so a profile can keep its pods to one pool without every manifest saying so.
Pod affinity and anti-affinity
Node affinity places a pod relative to nodes. pod affinityRules in spec.affinity.podAffinity and podAntiAffinity that place a pod by the labels of pods already running, within topology domains named by topologyKey. places it relative to other pods: near the cache it talks to, or away from its own replicas.
The rules match pods by a labelSelector, by default in the pod’s own namespace, or in the namespaces named by namespaces or matched by a namespaceSelector (an empty selector, {}, means every namespace). The topologyKey names a node label, and every distinct value of that label is one domain:
kubernetes.io/hostnamemakes each node its own domain.topology.kubernetes.io/zonemakes each zone one domain.
The rules then work on domains, not on nodes:
- Required affinity passes a node if any node in its domain runs a matching pod. With
topologyKey: topology.kubernetes.io/zone, every node in the cache’s zone passes, including nodes with no cache pod on them. Only withkubernetes.io/hostnamedoes “same domain” mean “same node”. - Required anti-affinity fails a node if any node in its domain runs a matching pod. The rule is symmetric: a running pod’s anti-affinity also keeps incoming pods away from it, reported as
node(s) didn't satisfy existing pods anti-affinity rules.
The common pattern is replicas that must not share a node:
apiVersion: apps/v1
kind: Deployment
metadata:
name: cache
spec:
replicas: 4
selector:
matchLabels:
app: cache
template:
metadata:
labels:
app: cache
spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
app: cache
topologyKey: kubernetes.io/hostname
containers:
- name: redis
image: redis:8.10
kubectl apply -f anti.yaml
deployment.apps/cache created
sleep 10
kubectl get pods -l app=cache -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES cache-c9478df8f-crwtn 1/1 Running 0 10s 10.244.3.2 kx-worker3 <none> <none> cache-c9478df8f-dq87d 1/1 Running 0 10s 10.244.2.2 kx-worker2 <none> <none> cache-c9478df8f-nshlv 1/1 Running 0 10s 10.244.1.3 kx-worker <none> <none> cache-c9478df8f-pggpj 0/1 Pending 0 10s <none> <none> <none> <none>
kubectl get events --field-selector reason=FailedScheduling
LAST SEEN TYPE REASON OBJECT MESSAGE 3s Warning FailedScheduling pod/cache-c9478df8f-pggpj 0/4 nodes are available: 1 node(s) had untolerated taint(s), 3 node(s) didn't match pod anti-affinity rules. preemption: 0/4 nodes are available: 1 Preemption is not helpful for scheduling, 3 No preemption victims found for incoming pod.
Required anti-affinity is a hard ceiling: one replica per domain, and the fourth replica waits for a fourth worker. When you want replicas spread but not capped, use the preferred form, or topology spread constraints, which the next lesson covers.
Affinity to another workload looks the same with podAffinity. This web tier must run in a zone that has a cache pod, and prefers not to double up on a node:
apiVersion: apps/v1
kind: Deployment
metadata:
name: web
spec:
replicas: 3
selector:
matchLabels:
app: web
template:
metadata:
labels:
app: web
spec:
affinity:
podAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchLabels:
app: cache
topologyKey: topology.kubernetes.io/zone
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
app: web
topologyKey: kubernetes.io/hostname
containers:
- name: web
image: ghcr.io/kx-labs/web:1.1
If the first pod of a group has required affinity to its own label, it is allowed to schedule even though no matching pod exists yet, so self-affinity cannot deadlock.
Two costs come with pod affinity. Every decision has to look at the pods in each domain, and the documentation advises against inter-pod affinity in clusters larger than several hundred nodes. And every node must carry the topologyKey label; a node without it does not belong to any domain, which leads to placements nobody intended. A labelSelector can use matchExpressions when one label value is not enough, and matchLabelKeys (stable since 1.33) scopes a rule to one rollout’s pods by adding the incoming pod’s own value for keys such as pod-template-hash to the selector.
Taints repel
Affinity is the pod’s choice. A taintA key=value:effect mark on a node that repels every pod without a matching toleration. is the node’s: it keeps pods away unless they opt in.
kubectl taint nodes kx-worker3 dedicated=batch:NoSchedule
kubectl taint nodes kx-worker3 dedicated=batch:NoSchedule-
The first command adds a taint; the trailing - on the second removes it. The effect decides what the taint does:
NoSchedule: the scheduler places no pod that does not tolerate it. Running pods stay.PreferNoSchedule: the scheduler tries to avoid the node through scoring, with no guarantee; the node can still win when other scores favour it.NoExecute: no further pods, and running pods that do not tolerate it are evicted.
A node can carry several taints. Kubernetes treats them as a filter: start with all of the node’s taints, drop each one the pod tolerates, and apply the effects of whatever is left. One untolerated NoSchedule taint is enough to keep the pod off.
kubeadm taints control-plane nodes with node-role.kubernetes.io/control-plane:NoSchedule, and kind keeps that taint on kx-control-plane. That is the “1 node(s) had untolerated taint(s)” in almost every FailedScheduling message on kx. The message counts the node but does not name the taint; kubectl describe node does.
Tolerations permit
A tolerationAn entry in a pod’s spec.tolerations that matches a taint and lets the pod ignore it. matches a taint by key, value and effect:
tolerations:
- key: dedicated
operator: Equal
value: batch
effect: NoSchedule
operator defaults to Equal, which compares the value. Exists matches any value for the key, and needs no value. An empty effect matches every effect for that key. A toleration with no key and operator: Exists matches every taint on every node, which is how some node agents run everywhere; give it to nothing else. Kubernetes 1.35 added Gt and Lt operators that compare integer taint values, as an alpha feature behind the TaintTolerationComparisonOperators gate, disabled by default.
A toleration only permits. It does not attract the pod to the tainted node; the scheduler is free to put it anywhere else. Here kx-worker3 is labeled pool=batch and tainted dedicated=batch:NoSchedule, and a batch Deployment of six pods tolerates the taint:
apiVersion: apps/v1
kind: Deployment
metadata:
name: batch
spec:
replicas: 6
selector:
matchLabels:
app: batch
template:
metadata:
labels:
app: batch
spec:
tolerations:
- key: dedicated
operator: Equal
value: batch
effect: NoSchedule
containers:
- name: app
image: ghcr.io/kx-labs/web:1.1
kubectl label node kx-worker3 pool=batch
node/kx-worker3 labeled
kubectl taint nodes kx-worker3 dedicated=batch:NoSchedule
node/kx-worker3 tainted
kubectl apply -f batch.yaml
deployment.apps/batch created
kubectl rollout status deployment batch
Waiting for deployment "batch" rollout to finish: 0 of 6 updated replicas are available... deployment "batch" successfully rolled out
kubectl get pods -l app=batch -o custom-columns=NAME:.metadata.name,NODE:.spec.nodeName
NAME NODE batch-69c5585689-6x95w kx-worker2 batch-69c5585689-crwtn kx-worker3 batch-69c5585689-dq87d kx-worker batch-69c5585689-nshlv kx-worker2 batch-69c5585689-pggpj kx-worker3 batch-69c5585689-shkxj kx-worker
kubectl patch deployment batch --type=merge -p '{"spec":{"template":{"spec":{"nodeSelector":{"pool":"batch"}}}}}'
deployment.apps/batch patched
kubectl rollout status deployment batch
Waiting for deployment "batch" rollout to finish: 3 out of 6 new replicas have been updated... Waiting for deployment "batch" rollout to finish: 2 old replicas are pending termination... deployment "batch" successfully rolled out
sleep 30
kubectl get pods -l app=batch -o custom-columns=NAME:.metadata.name,NODE:.spec.nodeName
NAME NODE batch-598566658-fhpqv kx-worker3 batch-598566658-gp7mk kx-worker3 batch-598566658-n4c86 kx-worker3 batch-598566658-nrmhm kx-worker3 batch-598566658-p4l5t kx-worker3 batch-598566658-whbkk kx-worker3
With the toleration alone, the pods spread over all three workers. Adding the selector changes the pod template, the rollout replaces every pod, and the replacements all land on kx-worker3.
A dedicated node therefore needs both halves: a taint to keep everyone else out, and a label with a nodeSelector or required node affinity to keep your pods in. The same pairing works for nodes with special hardware, where the taint stops ordinary pods from filling a GPU node before the pods that need it arrive. Node autoscalers keep the pattern as a pool grows: a Karpenter NodePool (API karpenter.sh/v1) stamps the taints and labels you give it onto every node it creates.
ExplainerThe scheduling pipeline
The pending pod web, labelled app=web. The controls edit its YAML.
pod.yaml
Edits rerun the scheduler as you type.
Filters, in order
- NodeUnschedulable
- NodeName
- TaintToleration
- NodeAffinity
- NodePorts
- NodeResourcesFit
- VolumeBinding
- PodTopologySpread
- InterPodAffinity
Drag the pod onto a node, or onto the scheduler to let it choose. On a touch screen, tap the pod, then tap a node. From the keyboard, Space picks it up and the arrow keys choose.
A placed pod carries a required node affinity on kubernetes.io/hostname, not spec.nodeName, so the scheduler still runs every filter and can refuse it.
kx-control-plane
control plane, no zone labeltaint node-role.kubernetes.io/control-plane:NoScheduleno app=web podsPlaced hereCPU3050m free of 4000m
Memory7902Mi free of 8192Mi
TaintToleration: node(s) had untolerated taint(s)
kx-worker
zone zone-a, disktype=ssd2 app=web podsPlaced hereCPU2800m free of 4000m
Memory6918Mi free of 8192Mi
Passed all 9 filters
kx-worker2
zone zone-b, disktype=ssdtaint dedicated=batch:NoScheduleno app=web podsPlaced hereCPU1400m free of 4000m
Memory4046Mi free of 8192Mi
TaintToleration: node(s) had untolerated taint(s)
kx-worker3
zone zone-b, disktype=hdd1 app=web podPlaced hereCPU1400m free of 2000m
Memory3534Mi free of 4096Mi
Passed all 9 filters
$
Each placement writes pods/<name>.yaml and runs kubectl apply on it; the command and the scheduler's event show here.
Nothing placed yet.
Scoring Each plugin scores 0 to 100, times its weight; the highest total wins.
| Plugin | kx-worker | kx-worker3 |
|---|---|---|
| Taint | 300100 × 3 | 300100 × 3 |
| Node | 00 × 2 | 00 × 2 |
| Node | 6666 × 1 | 5757 × 1 |
| Pod | 00 × 2 | 00 × 2 |
| Inter | 00 × 2 | 00 × 2 |
| Node | 7373 × 1 | 7070 × 1 |
| Image | 00 × 1 | 00 × 1 |
| Total of 1200 | 439 | 427 |
Event from default-scheduler
Normal Scheduled
Successfully assigned default/web to kx-worker
Stage 6 of 6
Bound to kx-worker: 2 nodes passed the filters and it scored highest, 439 of 1200.
Bound to kx-worker: 2 nodes passed the filters and it scored highest, 439 of 1200.
NoExecute and tolerationSeconds
NoExecute is the one effect that acts on running pods. When it lands on a node, the taint-eviction controller in kube-controller-manager checks every pod there:
- A pod with no matching toleration is evicted at once.
- A pod whose toleration has no
tolerationSecondsstays for as long as the taint is there. - A pod whose toleration sets
tolerationSecondsstays that many seconds, then is evicted. If the taint is removed first, the pod stays.
apiVersion: v1
kind: Pod
metadata:
name: patient
spec:
nodeSelector:
kubernetes.io/hostname: kx-worker2
tolerations:
- key: retiring
operator: Exists
effect: NoExecute
tolerationSeconds: 30
containers:
- name: app
image: nginx:1.30
---
apiVersion: v1
kind: Pod
metadata:
name: impatient
spec:
nodeSelector:
kubernetes.io/hostname: kx-worker2
containers:
- name: app
image: nginx:1.30
kubectl apply -f noexec.yaml
pod/patient created pod/impatient created
kubectl taint nodes kx-worker2 retiring=true:NoExecute
node/kx-worker2 tainted
sleep 2
kubectl get pods -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES patient 0/1 ContainerCreating 0 2s 10.244.2.2 kx-worker2 <none> <none>
sleep 20
kubectl get pods
NAME READY STATUS RESTARTS AGE patient 1/1 Running 0 22s
sleep 10
kubectl get pods
No resources found in default namespace.
kubectl get events --field-selector reason=TaintManagerEviction
LAST SEEN TYPE REASON OBJECT MESSAGE 32s Normal TaintManagerEviction pod/impatient Marking for deletion Pod default/impatient 2s Normal TaintManagerEviction pod/patient Marking for deletion Pod default/patient
Each eviction is recorded as a TaintManagerEviction event, and the pod gets a DisruptionTarget condition with reason DeletionByTaintManager before it is deleted. These are bare pods, so nothing replaces them; a Deployment’s pods would be recreated on other nodes. A NoExecute taint is a quick way to empty a node of everything that does not tolerate it. For planned maintenance, kubectl drain is usually the better tool, because it evicts through the Eviction API and honours PodDisruptionBudgets.
The same mechanism handles failed nodes. When a node’s Ready condition becomes False or Unknown, the node lifecycle controller adds node.kubernetes.io/not-ready or node.kubernetes.io/unreachable with effect NoExecute. The DefaultTolerationSeconds admission plugin gives every pod that does not set its own a toleration for both, with tolerationSeconds: 300. That is why pods on a dead node stay bound for 5 minutes before their controllers replace them. A latency-sensitive workload can shorten the wait by declaring the two tolerations itself with a smaller value; a stateful one with expensive restarts can lengthen it.
Built-in taints
The control plane maintains these taints, and the scheduler reads them instead of node conditions:
| Taint | Set when | Effect |
|---|---|---|
node.kubernetes.io/not-ready | the node’s Ready condition is False | NoExecute, plus a NoSchedule copy |
node.kubernetes.io/unreachable | the node’s Ready condition is Unknown | NoExecute, plus a NoSchedule copy |
node.kubernetes.io/memory-pressure | the kubelet reports MemoryPressure | NoSchedule |
node.kubernetes.io/disk-pressure | the kubelet reports DiskPressure | NoSchedule |
node.kubernetes.io/pid-pressure | the kubelet reports PIDPressure | NoSchedule |
node.kubernetes.io/network-unavailable | the node’s network is not configured | NoSchedule |
node.kubernetes.io/unschedulable | the node is cordoned | NoSchedule |
node.cloudprovider.kubernetes.io/uninitialized | an external cloud provider has not initialized the node yet | NoSchedule |
DaemonSet pods get tolerations for most of these automatically: NoExecute tolerations for not-ready and unreachable with no tolerationSeconds, so node agents are never evicted for a node problem, and NoSchedule tolerations for the pressure taints, unschedulable, and network-unavailable for host-network pods. A cordoned node therefore still receives DaemonSet pods, and a node under disk pressure still gets its log agent.
PodDisruptionBudgets play no part in any of this. They never stop a pod from being scheduled; they limit voluntary evictions, and preemption honours them only on a best-effort basis.
kubectl --context kind-kx label node kx-worker3 pool=batchkubectl --context kind-kx taint nodes kx-worker3 dedicated=batch:NoSchedulekubectl --context kind-kx create deployment batch --image=nginx:1.30 --replicas=4kubectl --context kind-kx patch deployment batch --type=merge -p '{"spec":{"template":{"spec":{"nodeSelector":{"pool":"batch"},"tolerations":[{"key":"dedicated","operator":"Equal","value":"batch","effect":"NoSchedule"}]}}}}'kubectl --context kind-kx get pods -l app=batch -o widekubectl --context kind-kx delete deployment batchkubectl --context kind-kx taint nodes kx-worker3 dedicated=batch:NoSchedule-kubectl --context kind-kx label node kx-worker3 pool-
For your own kind cluster kx: copy a command and paste it into your terminal. Run in the simulator runs the same command in this page's simulated cluster instead; nothing on this page touches your machine. Before the patch the pods avoid kx-worker3; after it, the rollout moves all four onto kx-worker3.
Actual state
Check your understanding
Your first answer to each check is the one that counts. After a miss you can answer again; passing every check reconciles the lesson.
Lesson not yet reconciled
Desired: 4 objectives, 0 metReconciled: 4 of 4 objectives met
- Steer pods with nodeSelector and with required and preferred node affinity. (not yet met)
- Place pods together or apart with pod affinity and anti-affinity. (not yet met)
- Taint a node and add tolerations so that only chosen pods run there. (not yet met)
- Predict NoExecute evictions and use tolerationSeconds to delay them. (not yet met)
Pass every check above to reconcile this lesson.
Every check has passed, so the desired state is met. First-try accuracy: 0 of 5. This lesson's review cards are in your queue.
Practice
Put this lesson to work on the simulated cluster. Everything runs in your browser, with nothing to install.
Changed since the notes
This lesson draws on an earlier set of study notes. Where the documentation contradicts a claim in them, qualifies it or has moved past it, the claim is listed here with the corrected statement and the source it was checked against.
Show 5 corrections
The notes saidKarpenter replaces Cluster Autoscaler and provisions nodes from pending pods
CorrectedTrue. Karpenter v1 APIs are stable: NodePool karpenter.sh/v1, EC2NodeClass karpenter.k8s.aws/v1. The latest AWS provider release is v1.15.2 (2026-11-12). On EKS Auto Mode, AWS runs Karpenter as a managed component and you configure only NodePools.
Sourcegithub.com/aws/karpenter-provider-aws/releases/tag/v1.15.2
The notes saidFargate has no node-level scheduling and each pod is isolated
CorrectedPods that match a Fargate profile get schedulerName: fargate-scheduler, a second scheduler that EKS runs. Each pod runs in its own VM and binds to its own fargate-* Node object, one pod per node. DaemonSets, privileged containers, hostNetwork and hostPort are not supported.
The notes saidkubectl logs -n kube-system kube-scheduler-<node> shows scheduler logs on EKS
CorrectedEKS has no visible kube-scheduler pod. Enable the scheduler control plane log type and read it in CloudWatch Logs under /aws/eks/<cluster>/cluster. The kubectl command works only on self-managed clusters.
Sourcedocs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html
The notes saidPDB blocking is a reason pods won't schedule
CorrectedPDBs never block scheduling. They limit voluntary evictions. During preemption the scheduler respects PDBs only on a best-effort basis.
Sourcekubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption
The notes saidRequired pod affinity filters out nodes that don't run the matching pods
CorrectedRequired pod affinity filters by topology domain: a node passes if any node in its topologyKey domain runs a matching pod. That equals 'nodes without those pods' only when topologyKey is kubernetes.io/hostname.
Sourcekubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node
Every correction across the guide, by note and topic.
Sources
Checked against kubernetes.io and AWS documentation for Kubernetes 1.37 on .
- kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node
- kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration
- kubernetes.io/docs/reference/labels-annotations-taints
- kubernetes.io/docs/reference/access-authn-authz/admission-controllers
- kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints
- kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler
- kubernetes.io/docs/concepts/workloads/pods/disruptions
Affinity, taints and tolerations
↓ ↑ step, 1 to 7 scene, Esc leave