-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
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
unable to create/update the DNS service: Service \"kube-dns\" is invalid: #7745
Comments
I found same issues when run upgrade 1.19.10 to 1.20.7 . Any workaround or solution? |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
I think the workaround to this issue is in this PR #6244 |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
hi all !
when updating my cluster from 1.19.10 to 1.20.8 i have an error related to kube-dns service which is not valid :
The recommended value for \"clusterDNS\" in \"KubeletConfiguration\" is: [10.138.0.10]; the provided value is: [169.254.25.10]", "[upgrade/postupgrade] FATAL post-upgrade error: unable to create/update the DNS service: Service \"kube-dns\" is invalid: [spec.clusterIPs[0]: Invalid value: []string(nil): primary clusterIP can not be unset, spec.clusterIPs: Required value]
I tried to deactivate the nodelocaldns and restart the playbook but I have the same error.
Environment:
VMWARE and bare metal
**OS : RedHat 7.8
Version of Ansible (
ansible --version
): ansible 2.9.18Version of Python (
python --version
): Python 3.6.8Kubespray version (commit) (
git rev-parse --short HEAD
): release-2.16 / 5675445Network plugin used: flannel
Full inventory with variables (
ansible -i inventory/sample/inventory.ini all -m debug -a "var=hostvars[inventory_hostname]"
):https://gist.github.com/orelops/c9a555e8f7a8e46301a385258465567b
Command used to invoke ansible: ansible-playbook -i inventory/sample/hosts.yaml upgrade-cluster.yml
Output of ansible run:
https://gist.github.com/orelops/8528aa23187936bdca2f573e5bb7fff3
The text was updated successfully, but these errors were encountered: