metallb

package
v2.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2026 License: GPL-3.0 Imports: 0 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package metallb defines annotation keys for the MetalLB load-balancer feature. Keys under v1alpha1 are experimental and may change without notice.

Index

Constants

View Source
const (
	// AnnotationBGPPeers holds a YAML-encoded list of BGP peer configs for multi-peer
	// MetalLB BGP mode. Each item may include: peerAddress (required), peerASN (required),
	// myASN (optional, falls back to load-balancer.bgp-local-asn), peerPort (optional,
	// default 179), nodeSelector (optional, map[string]string of matchLabels).
	//
	// Example value:
	//   - peerAddress: 10.116.3.164
	//     peerASN: 65001
	//     nodeSelector: {topology.kubernetes.io/zone: i1}
	//
	// When set, this annotation REPLACES the single-peer typed BGP keys entirely.
	// Invalid YAML causes the load-balancer feature to enter a degraded state.
	AnnotationBGPPeers = "k8sd/v1alpha1/metallb/bgp-peers"

	// AnnotationAdvertiseAllPools controls the BGPAdvertisement spec. When "true",
	// the BGPAdvertisement is emitted with an empty spec (advertises all IP pools).
	// When unset or "false", only the named IPAddressPool is advertised.
	AnnotationAdvertiseAllPools = "k8sd/v1alpha1/metallb/advertise-all-pools"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL