concept

Affinity, taints and tolerations

Use node selectors, required and preferred affinity, inter-Pod placement rules, taints and tolerations without confusing permission with placement.

Formal Syntax & Structure

kubernetes syntaxkubernetes
Affinity, taints and tolerations

Working Example

Example Snippetkubernetes
nodeSelector:  lab.example/pool: acceleratortolerations:- key: lab.example/dedicated  operator: Equal  value: accelerator  effect: NoSchedule
Kubernetes Reference