Skip to content
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

regression on nodelocaldns configmap configuration #11979

Open
SoulKyu opened this issue Feb 19, 2025 · 0 comments
Open

regression on nodelocaldns configmap configuration #11979

SoulKyu opened this issue Feb 19, 2025 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@SoulKyu
Copy link

SoulKyu commented Feb 19, 2025

What happened?

Since Kubespray 2.27 :

When using dns_mode: none the configmap after been templated has a regression on the forward instruction :

Before :

forward . 10.XX.0.3 {

After :

forward . {

This lead to the nodelocaldns to not work correctly.

It seems relate to this commit : 31e56ab

What did you expect to happen?

The IP should be correctly template like in the version 2.26 of kubespray

How can we reproduce it (as minimally and precisely as possible)?

Deploy a cluster with args :

dns_mode: none
enable_nodelocaldns: true
#enable_nodelocaldns_secondary: false
nodelocaldns_ip: 10.XX.0.10
nodelocaldns_health_port: 9254

and look at the nodelocaldns configmap generated

OS

ubuntu

Version of Ansible

ansible==9.3.0

Version of Python

11.11

Version of Kubespray (commit)

2.27.0

Network plugin used

calico

Full inventory with variables

None

Command used to invoke ansible

ansible-playbook -i inventories upgrade_cluster.yml -b -v --become --become-user=root -e skip_downloads=true

Output of ansible run

None

Anything else we need to know

No response

@SoulKyu SoulKyu added the kind/bug Categorizes issue or PR as related to a bug. label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant