Skip to content

Commit

Permalink
Allow deployments to proceed smoothly within quota (#2240)
Browse files Browse the repository at this point in the history
The namespace quota is sufficiently sized for 3 replicas of this pod. The default parameters (25% capacity flux either way) would cause an attempt to execute 4 pods concurrently. These parameters allow rollouts to operate within the quota of 3 pods concurrently.
  • Loading branch information
benlangfeld authored Jan 9, 2023
1 parent a4bfedb commit 37d0fd0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions playbook-website/config/deploy/templates/deployment.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ metadata:
krane.shopify.io/required-rollout: "maxUnavailable"
spec:
replicas: 2
strategy:
rollingUpdate:
maxSurge: 50%
maxUnavailable: 50%
type: RollingUpdate
selector:
matchLabels:
app: playbook
Expand Down

0 comments on commit 37d0fd0

Please sign in to comment.