-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
coredns_dual setup is broken in Kubespray v2.24.0 #10816
Comments
need to double-check what the issue is exactly. Closing for now |
Reopening. Issue edited with correct analysis about the root cause |
I had the same problem and solved it here: https://github.com/kubernetes-sigs/kubespray/pull/10815/files But since upgrading my cluster coredns was broken and no pods were able to resolve any hostnames anymore. After a very long debugging session I found the issue, but I have no clue how that could have happened, but maybe it is somehow related to this issue. My problem was that the coredns service had this configured:
instead of
Just if this is related or someone has the same problem. |
Thank you @arusa! |
That highlights that we're missing CI for the coredns_dual case... :( |
Can you check if the linked PR fix the issue ? |
This issue also happens on coredns setup.
|
What happened?
Upgrade Kubespray to v2.24.0 then apply
upgrade_cluster.yml
playbook on a coredns_dual enabled Kubernetes cluster.Upgrade failed on the first control-plane node with:
Looks like root cause is 7b7c9f5#diff-b1eb8bcdd1f42fddbdc93abe17d47e7c93f2d4c7f37a0bef7d2292f2039ff691R39 committed 4 days ago where:
should rather be:
What did you expect to happen?
Cluster to be upgraded with no issue
How can we reproduce it (as minimally and precisely as possible)?
Set
dns_mode: coredns_dual
ingroup_vars/k8s_cluster/k8s-cluster.yml
, then install or upgrade a cluster.OS
MacOS Sonoma
Version of Ansible
Version of Python
Python 3.9.18
Version of Kubespray (commit)
64447e7
Network plugin used
calico
Full inventory with variables
No response
Command used to invoke ansible
No response
Output of ansible run
No response
Anything else we need to know
No response
The text was updated successfully, but these errors were encountered: