autoscaller

This commit is contained in:
Serge Logvinov
2022-12-24 15:14:45 +02:00
parent cf6b119303
commit b646502fd6
16 changed files with 286 additions and 32 deletions

View File

@@ -137,21 +137,9 @@ spec:
app: cluster-autoscaler
spec:
nodeSelector:
kubernetes.io/os: linux
node-role.kubernetes.io/master: ""
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: project.io/cloudprovider-type
operator: In
values:
- azure
node-role.kubernetes.io/control-plane: ""
node.cloudprovider.kubernetes.io/platform: azure
tolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/master
operator: Exists
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
operator: Exists