Join replica pod to VM cluster
- When creating the kubernetes deployment with helm, enable
externalMaster. - We want to set
replicasto 1 to add replicas slowly (note: this leaves us with an uneven number of replicas, that should be ok though). - We want to set
replica-priorityto0to avoid failing over to pods. - This will join the pods as a replicas of the existing VM master.
- It will also add k8s pods as sentinels.
- We keep quorum at 2 here.
Edited by Igor