Created
June 28, 2020 14:16
-
-
Save RoyLDD/23116e269773f30d1aa812e2724fb5f2 to your computer and use it in GitHub Desktop.
Pod with toleration and node selector
This file contains 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: kubia | |
spec: | |
containers: | |
- image: luksa/kubia | |
name: kubia | |
ports: | |
- containerPort: 8080 | |
protocol: TCP | |
tolerations: | |
- key: "dedicated" | |
operator: "Equal" | |
value: "app" | |
effect: "NoSchedule" | |
nodeSelector: | |
kube/nodetype: app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment