Sanity check replicaCount when determining if using PDB to avoid pods

that cannot be terminated, which causes k8s upgrades to fail.
This commit is contained in:
David Burke 2021-07-10 14:54:37 -04:00
parent ef0f8f8f57
commit a94054df32
2 changed files with 4 additions and 2 deletions

View file

@ -23,13 +23,13 @@ web:
port: 8080
autoscaling:
enabled: false
minReplicas: 1
minReplicas: 2
maxReplicas: 10
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
budget:
minAvailable: 1
minAvailable: 1 # Ignored when replicaCount is 1
resources:
limits:
cpu: 1000m