Created
March 18, 2023 13:44
-
-
Save guitarrapc/06f9fc3186ddcf5df543db6ef8ac9611 to your computer and use it in GitHub Desktop.
Place daemonset without Fargate Node
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: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: foo-daemonset | |
spec: | |
selector: | |
matchLabels: | |
k8s-app: foo-daemonset | |
template: | |
metadata: | |
labels: | |
k8s-app: foo-daemonset | |
spec: | |
affinity: | |
nodeAffinity: | |
requiredDuringSchedulingIgnoredDuringExecution: | |
nodeSelectorTerms: | |
- matchExpressions: | |
- key: eks.amazonaws.com/compute-type | |
operator: NotIn | |
values: | |
- fargate | |
containers: | |
- name: foo | |
image: foo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment