diff --git a/templates/master/00-master/on-prem/files/keepalived-keepalived.yaml b/templates/master/00-master/on-prem/files/keepalived-keepalived.yaml index 159321e593..f2f02b7a71 100644 --- a/templates/master/00-master/on-prem/files/keepalived-keepalived.yaml +++ b/templates/master/00-master/on-prem/files/keepalived-keepalived.yaml @@ -69,6 +69,15 @@ contents: fall 2 } + vrrp_sync_group VG1 { + group { + {{`{{ range $i, $config := .Configs }}`}} + {{`{{ .Cluster.Name }}`}}_API_{{`{{$i}}`}} + {{`{{ .Cluster.Name }}`}}_INGRESS_{{`{{$i}}`}} + {{`{{ end }}`}} + } + } + {{`{{ range $i, $config := .Configs }}`}} {{`{{$nonVirtualIP := .NonVirtualIP}}`}}