blob: 9f2fa63ef40e78241fbcfcec5e2522f324d05125 [file] [log] [blame]
---
# MetalLBConfig object serves for monitoring of MetalLB address advertisement
# configuration since MCC 2.24. It can contain a link to MetalLBConfigTemplate
# or full definition of MetalLB API objects.
# The example below consumes "kaas-mgmt-metallb" MetalLBConfigTemplate object.
# Operator can monitor the status of MetalLB configuration of the target
# cluster using "status" of MetalLBConfig.
# See MCC documentation for detailed description of MetalLB configuration using
# MetalLBConfig and MetalLBConfigTemplate objects.
apiVersion: kaas.mirantis.com/v1alpha1
kind: MetalLBConfig
metadata:
labels:
kaas.mirantis.com/provider: baremetal
cluster.sigs.k8s.io/cluster-name: kaas-mgmt
name: kaas-mgmt-metallb
namespace: default
spec:
ipAddressPools:
- name: default
spec:
addresses:
- 172.16.181.101-172.16.181.140
autoAssign: true
avoidBuggyIPs: false
- name: services-pxe
spec:
addresses:
# IP address range to use for the MetalLB address pool to expose
# Kubernetes services in the PXE network.
# This address range must be within the PXE network.
# The minimum required address range size is 4 IP addresses.
- 172.16.181.10-172.16.181.13
autoAssign: false
avoidBuggyIPs: false
l2Advertisements:
- name: default
spec:
ipAddressPools:
- default
- name: pxe
spec:
ipAddressPools:
- services-pxe