Skip to content

Commit

Permalink
Enforce VIPs to be collocated at the same host
Browse files Browse the repository at this point in the history
  • Loading branch information
MaysaMacedo committed Feb 11, 2025
1 parent 6546cf2 commit a3eeb7f
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`}}
Expand Down

0 comments on commit a3eeb7f

Please sign in to comment.