Add Layer 2 advertisement for IPAddressPools
This commit is contained in:
parent
4db72d4962
commit
5a40884543
2 changed files with 11 additions and 0 deletions
|
@ -100,6 +100,8 @@ fun Prov.installK3s(k3sConfig: K3sConfig): ProvResult {
|
|||
)
|
||||
}
|
||||
|
||||
applyK3sFileFromResource(File(k3sManualManifestsDir, "metallb-l2advertisement.yaml"))
|
||||
|
||||
// traefik
|
||||
if (k3sConfig.isDualStack()) {
|
||||
// see https://github.com/k3s-io/k3s/discussions/5003
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
apiVersion: metallb.io/v1beta1
|
||||
kind: L2Advertisement
|
||||
metadata:
|
||||
name: layer2
|
||||
namespace: metallb-system
|
||||
spec:
|
||||
ipAddressPools:
|
||||
- private
|
||||
- public
|
Loading…
Reference in a new issue