Vladimir Khlyunev | cc648af | 2024-04-25 19:56:40 +0400 | [diff] [blame] | 1 | --- |
| 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. |
| 10 | apiVersion: kaas.mirantis.com/v1alpha1 |
| 11 | kind: MetalLBConfig |
| 12 | metadata: |
| 13 | labels: |
| 14 | kaas.mirantis.com/provider: baremetal |
| 15 | cluster.sigs.k8s.io/cluster-name: mosk |
| 16 | name: mosk-metallb |
| 17 | namespace: mosk |
| 18 | spec: |
| 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 |