Skip to content

Commit 6689db4

Browse files
committed
Operator high-availability
1 parent 4ab7a63 commit 6689db4

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

manifests/templates/deployment-replication/deployment-replication.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: {{ .DeploymentReplication.OperatorDeploymentName }}
66
namespace: {{ .DeploymentReplication.Operator.Namespace }}
77
spec:
8-
replicas: 1
8+
replicas: 2
99
strategy:
1010
type: Recreate
1111
template:
@@ -50,3 +50,12 @@ spec:
5050
scheme: HTTPS
5151
initialDelaySeconds: 5
5252
periodSeconds: 10
53+
tolerations:
54+
- key: "node.kubernetes.io/unreachable"
55+
operator: "Exists"
56+
effect: "NoExecute"
57+
tolerationSeconds: 5
58+
- key: "node.kubernetes.io/not-ready"
59+
operator: "Exists"
60+
effect: "NoExecute"
61+
tolerationSeconds: 5

manifests/templates/deployment/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: {{ .Deployment.OperatorDeploymentName }}
66
namespace: {{ .Deployment.Operator.Namespace }}
77
spec:
8-
replicas: 1
8+
replicas: 2
99
strategy:
1010
type: Recreate
1111
template:

manifests/templates/storage/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ metadata:
1313
name: {{ .Storage.OperatorDeploymentName }}
1414
namespace: {{ .Storage.Operator.Namespace }}
1515
spec:
16-
replicas: 1
16+
replicas: 2
1717
strategy:
1818
type: Recreate
1919
template:

0 commit comments

Comments
 (0)