Install an HA MSR deployment¶
High availability (HA) MSR deployments require a Kubernetes environment with:
At least two different nodes to run an MSR deployment
An additional node on which to replicate the RethinkDB cluster, to ensure fault tolerance
To install an HA MSR deployment:
Create an
ha.yaml
file with the following content:Theha.yaml
file sample¶global: podAntiAffinityPreset: hard rethinkdb: cluster: replicaCount: 3 proxy: replicaCount: 2 enzi: api: replicaCount: 2 worker: replicaCount: 2 nginx: replicaCount: 2 garant: replicaCount: 2 api: replicaCount: 2 jobrunner: deployments: default: replicaCount: 2 notarySigner: replicaCount: 2 notaryServer: replicaCount: 2 registry: replicaCount: 2
Note
You can edit the replica counts in the
ha.yaml
file. However, you must make sure thatrethinkdb.cluster.replicaCount
is always an odd number. Refer to the RethinkDB scaling chart for details.Using Helm, apply the YAML file to a new installation:
helm install msrofficial/msr -f ha.yaml