Join replica pod to VM cluster

  • When creating the kubernetes deployment with helm, enable externalMaster.
  • We want to set replicas to 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-priority to 0 to 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