microk8s
microk8s copied to clipboard
DNS Add-on: The Service "kube-dns" is invalid: spec.clusterIPs: Invalid value: []string{"10.152.183.10"}: failed to allocate IP 10.152.183.10: provided IP is already allocated
I occurred the following issue when executing microk8s enable dns
Then I found that the dashboard service: dashboard-metrics-scraper occupied the IP: 10.152.183.10
So here is my question: If we specify the IP 10.152.183.10
for dns purpose, we should also avoid other service got this IP;
And when I reexecuting the cmd microk8s enable dns
I shouldn't this confused message: Addon dns is already enabled.
This is one of the things that we find need work. I think this was brought up before, the remediation as of now is to enable dns prior to the rest of the workloads, otherwise it can end ip like your situation.
Hey! I am experiencing this exact issue today as well. microk8s v1.24 - 4. Has there been any update remediation for this?
Host OS - Windows 11.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.