Created
January 16, 2026 13:47
-
-
Save lucj/98203c9fdca8b48c223570370bb837f7 to your computer and use it in GitHub Desktop.
pod-test.yaml
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: | |
| labels: | |
| run: demo | |
| name: demo | |
| spec: | |
| affinity: | |
| nodeAffinity: | |
| requiredDuringSchedulingIgnoredDuringExecution: | |
| nodeSelectorTerms: | |
| - matchExpressions: | |
| - key: beta.kubernetes.io/instance-type | |
| operator: In | |
| values: | |
| - standard.large | |
| containers: | |
| - image: nginx:1.26 | |
| name: demo | |
| resources: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment