Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The bug itself, as detailed as you can:
When using this configuration ('config'), all works as expected:
address-pools: - name: ingress protocol: layer2 addresses: - 10.0.0.80-10.0.0.80 - name: default protocol: layer2 addresses: - 10.0.0.81-10.0.0.99
But when there are spaces, metallb is unable to provide an IP, so the EXTERNAL-IP keeps :
address-pools: - name: ingress protocol: layer2 addresses: - 10.0.0.80 - 10.0.0.80 - name: default protocol: layer2 addresses: - 10.0.0.81 - 10.0.0.99
The logs of the speaker shows the error:
{ "caller": "k8s.go:361", "configmap": "kube-metallb/config", "error": "parsing address pool #2: invalid CIDR \"10.0.0.81 - 10.0.0.99\" in pool \"default\"", "event": "configStale", "msg": "config (re)load failed, config marked stale", "ts": "2019-11-22T12:19:02.449737153Z" }
Version of MetalLB
$ kubectl -n kube-metallb get pod -ojson | jq -r ".items[].spec.containers[].image" metallb/controller:v0.8.2 metallb/speaker:v0.8.2 metallb/speaker:v0.8.2
Version of Kubernetes
$ kubectl version -ojson | jq -r ".serverVersion.gitVersion"` v1.16.0
Name and version of network addon (e.g. Calico, Weave...)
$ kubectl -n kube-flannel get pod -ojson | jq -r ".items[].spec.containers[].image" quay.io/coreos/flannel:v0.11.0-amd64 quay.io/coreos/flannel:v0.11.0-amd64
Whether you've configured kube-proxy for iptables or ipvs mode
$ kubectl -n kube-system logs kube-proxy-9jxfn ... server_others.go:149] Using iptables Proxier. ...
The text was updated successfully, but these errors were encountered:
feat(config): allow spaces in IP ranges
7af71c2
Fixes #499.
Thank you!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The bug itself, as detailed as you can:
When using this configuration ('config'), all works as expected:
But when there are spaces, metallb is unable to provide an IP, so the EXTERNAL-IP keeps :
The logs of the speaker shows the error:
Version of MetalLB
Version of Kubernetes
Name and version of network addon (e.g. Calico, Weave...)
Whether you've configured kube-proxy for iptables or ipvs mode
The text was updated successfully, but these errors were encountered: