Created
April 12, 2022 09:02
-
-
Save chrisedrego/ad3b8421ac6acb00a93c8dd51b3362a1 to your computer and use it in GitHub Desktop.
A demo pod which will get scheduled on particular nodes that have the label
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: nodeSelectorApp | |
| namespace: default | |
| spec: | |
| containers: | |
| - name: nodeSelectorApp | |
| image: nginx | |
| nodeSelector: | |
| compute: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment