blob: b621be95216b4aae745948c1e663439679f09857 [file] [log] [blame]
Vladimir Khlyunevcc648af2024-04-25 19:56:40 +04001---
2# MetalLBConfig object serves for monitoring of MetalLB address advertisement
3# configuration since MCC 2.24. It can contain a link to MetalLBConfigTemplate
4# or full definition of MetalLB API objects.
5# The example below consumes "kaas-mgmt-metallb" MetalLBConfigTemplate object.
6# Operator can monitor the status of MetalLB configuration of the target
7# cluster using "status" of MetalLBConfig.
8# See MCC documentation for detailed description of MetalLB configuration using
9# MetalLBConfig and MetalLBConfigTemplate objects.
10apiVersion: kaas.mirantis.com/v1alpha1
11kind: MetalLBConfig
12metadata:
13 labels:
14 kaas.mirantis.com/provider: baremetal
15 cluster.sigs.k8s.io/cluster-name: mosk
16 name: mosk-metallb
17 namespace: mosk
18spec:
19 ipAddressPools:
20 - name: default
21 spec:
22 addresses:
23 - 172.16.180.26-172.16.180.75
24 autoAssign: true
25 avoidBuggyIPs: false
26 l2Advertisements:
27 - name: default
28 spec:
29 ipAddressPools:
30 - default