Update traefik template
Enable multiple loadBalancerIPs for metallb. Apply the traefik template.
This commit is contained in:
parent
3d385fa8ac
commit
9fb30341de
2 changed files with 5 additions and 2 deletions
|
@ -29,7 +29,7 @@ private val k3sInstallScript = File( "/usr/local/bin/k3s-install.sh")
|
|||
private val k3sConfigFile = File( "/etc/rancher/k3s/config.yaml")
|
||||
private val k3sKubeConfig = File("/etc/rancher/k3s/k3s.yaml")
|
||||
|
||||
private val k3sTraefikWorkaround = File(k3sManualManifestsDir, "traefik.template.yaml")
|
||||
private val k3sTraefikWorkaround = File(k3sManualManifestsDir, "traefik.yaml")
|
||||
private val certManagerDeployment = File(k3sManualManifestsDir, "cert-manager.yaml")
|
||||
|
||||
private val certManagerIssuer = File(k3sManualManifestsDir, "le-issuer.yaml")
|
||||
|
|
|
@ -46,7 +46,10 @@ spec:
|
|||
effect: "NoSchedule"
|
||||
service:
|
||||
ipFamilyPolicy: "PreferDualStack"
|
||||
loadBalancerIP: ${node_ipv4}
|
||||
metadata:
|
||||
annotations:
|
||||
metallb.universe.tf/loadBalancerIPs: "${node_ipv4}, ${node_ipv6}"
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
externalTrafficPolicy: Local
|
||||
|
||||
|
|
Loading…
Reference in a new issue