Skip to content

Commit

Permalink
Run ARO HCP frontend with 2 replicas
Browse files Browse the repository at this point in the history
With the completion of #680 this PR
adds a PodDisruptionBudget to ensure 1 replica is running, but by
default 2 replicas will be running at all times.

Signed-off-by: Michael Shen <[email protected]>
  • Loading branch information
mjlshen committed Oct 14, 2024
1 parent fc7b37d commit 0e2d0f8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ metadata:
name: aro-hcp-frontend
spec:
progressDeadlineSeconds: 600
replicas: 1
replicas: 2
revisionHistoryLimit: 10
selector:
matchLabels:
app: aro-hcp-frontend
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
maxSurge: 50%
maxUnavailable: 50%
type: RollingUpdate
template:
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: aro-hcp-frontend
spec:
minAvailable: 1
selector:
matchLabels:
app: aro-hcp-frontend

0 comments on commit 0e2d0f8

Please sign in to comment.