add node affinity for cluster-autoscaler
@@ -197,3 +197,10 @@ spec:
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
+ affinity:
+ nodeAffinity:
+ requiredDuringSchedulingIgnoredDuringExecution:
+ nodeSelectorTerms:
+ - matchExpressions:
+ - key: node-role.kubernetes.io/master
+ operator: Exists
