Add a match expresison for 1.12 clusters
@@ -68,6 +68,19 @@ spec:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
+ - matchExpressions:
+ - key: "beta.kubernetes.io/os"
+ operator: In
+ values:
+ - linux
+ - key: "beta.kubernetes.io/arch"
+ operator: In
+ values:
+ - amd64
+ - key: "eks.amazonaws.com/compute-type"
+ operator: NotIn
+ values:
+ - fargate
- matchExpressions:
- key: "kubernetes.io/os"
operator: In
