Created
February 5, 2026 17:00
-
-
Save chadmcrowell/d22ae20a1e71d65825a93727dfe501c9 to your computer and use it in GitHub Desktop.
Pod with Toleration for Control Plane
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: my-pod | |
| namespace: default | |
| spec: | |
| tolerations: | |
| - key: "node-role.kubernetes.io/control-plane" | |
| operator: "Exists" | |
| effect: "NoSchedule" | |
| containers: | |
| - name: nginx | |
| image: nginx:latest | |
| ports: | |
| - containerPort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment