Skip to content

Commit

Permalink
fix(manifests): add rolling strategy
Browse files Browse the repository at this point in the history
this permits to properly rollout controller in a 2 nodes scenario
  • Loading branch information
nerzhul committed Nov 21, 2024
1 parent 9f98b7c commit 0fe2a21
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deployment/0.29.6/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ spec:
selector:
matchLabels:
app: exoscale-csi-controller
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
replicas: 2
template:
metadata:
Expand Down
5 changes: 5 additions & 0 deletions deployment/0.31.0/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ spec:
selector:
matchLabels:
app: exoscale-csi-controller
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
replicas: 2
template:
metadata:
Expand Down
5 changes: 5 additions & 0 deletions deployment/latest/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ spec:
selector:
matchLabels:
app: exoscale-csi-controller
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
replicas: 2
template:
metadata:
Expand Down

0 comments on commit 0fe2a21

Please sign in to comment.