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 346562a
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,17 @@ contents:
fall 2
}
{{- if and (eq .Infra.Status.PlatformStatus.Type "OpenStack") (or (eq .IPFamilies "DualStack") (eq .IPFamilies "DualStackIPv6Primary")) }}
vrrp_sync_group VG1 {
group {
{{`{{ range $i, $config := .Configs }}`}}
{{`{{ .Cluster.Name }}`}}_API_{{`{{$i}}`}}
{{`{{ .Cluster.Name }}`}}_INGRESS_{{`{{$i}}`}}
{{`{{ end }}`}}
}
}
{{- end}}
{{`{{ range $i, $config := .Configs }}`}}
{{`{{$nonVirtualIP := .NonVirtualIP}}`}}
Expand Down

0 comments on commit 346562a

Please sign in to comment.