Skip to content

Commit

Permalink
Run 2 replicas of active/passive HA deployments
Browse files Browse the repository at this point in the history
Matching the changes being made in HyperShift via
openshift/hypershift#4738
  • Loading branch information
jonesbr17 committed Oct 1, 2024
1 parent 017ae74 commit 6e4dbb6
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ apiVersion: apps/v1
metadata:
name: kube-controller-manager
spec:
replicas: {{ .Replicas }}
replicas: 2
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 0
maxUnavailable: 1
maxSurge: 1
maxUnavailable: 0
selector:
matchLabels:
app: kube-controller-manager
Expand Down
6 changes: 3 additions & 3 deletions assets/kube-scheduler/kube-scheduler-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ apiVersion: apps/v1
metadata:
name: kube-scheduler
spec:
replicas: {{ .Replicas }}
replicas: 2
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 0
maxUnavailable: 1
maxSurge: 1
maxUnavailable: 0
selector:
matchLabels:
app: kube-scheduler
Expand Down
4 changes: 2 additions & 2 deletions assets/oauth-openshift/oauth-server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ apiVersion: apps/v1
metadata:
name: oauth-openshift
spec:
replicas: {{ .Replicas }}
replicas: 2
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 0
maxSurge: 1
maxUnavailable: 1
selector:
matchLabels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ apiVersion: apps/v1
metadata:
name: cluster-policy-controller
spec:
replicas: {{ .Replicas }}
replicas: 2
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 0
maxUnavailable: 1
maxSurge: 1
maxUnavailable: 0
selector:
matchLabels:
app: cluster-policy-controller
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ apiVersion: apps/v1
metadata:
name: openshift-controller-manager
spec:
replicas: {{ .Replicas }}
replicas: 2
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 0
maxUnavailable: 1
maxSurge: 1
maxUnavailable: 0
selector:
matchLabels:
app: openshift-controller-manager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ apiVersion: apps/v1
metadata:
name: route-controller-manager
spec:
replicas: {{ .Replicas }}
replicas: 2
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 0
maxUnavailable: 1
maxSurge: 1
maxUnavailable: 0
selector:
matchLabels:
app: route-controller-manager
Expand Down
34 changes: 17 additions & 17 deletions pkg/assets/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6e4dbb6

Please sign in to comment.