enable static traefik load balancer IP
This commit is contained in:
parent
9c14a774d4
commit
6fd25419be
1 changed files with 18 additions and 0 deletions
|
@ -32,11 +32,29 @@
|
||||||
version = "v1beta1";
|
version = "v1beta1";
|
||||||
kind = "L2Advertisement";
|
kind = "L2Advertisement";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
helmChartConfig = {
|
||||||
|
attrName = "helmChartConfigs";
|
||||||
|
group = "helm.cattle.io";
|
||||||
|
version = "v1";
|
||||||
|
kind = "HelmChartConfig";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
resources = {
|
resources = {
|
||||||
ipAddressPools.main.spec.addresses = [ "192.168.30.128-192.168.30.200" ];
|
ipAddressPools.main.spec.addresses = [ "192.168.30.128-192.168.30.200" ];
|
||||||
l2Advertisements.main.metadata = { };
|
l2Advertisements.main.metadata = { };
|
||||||
|
|
||||||
|
# Override Traefik's service with a static load balancer IP.
|
||||||
|
helmChartConfigs.traefik = {
|
||||||
|
metadata.namespace = "kube-system";
|
||||||
|
|
||||||
|
spec.valuesContent = ''
|
||||||
|
service:
|
||||||
|
spec:
|
||||||
|
loadBalancerIP: "192.168.30.128"
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
helm.releases.metallb = {
|
helm.releases.metallb = {
|
||||||
|
|
Loading…
Reference in a new issue