Skip to content

Sanitize node name before creating pod name #218

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

Merged
merged 1 commit into from
May 23, 2025

Conversation

m-naught
Copy link
Contributor

Pods can't contain dots, replace them with dashes if the node name has them.

@m-naught m-naught force-pushed the dotbug branch 2 times, most recently from 19ac3fe to 96ed4dd Compare May 22, 2025 11:57
@m-naught m-naught force-pushed the dotbug branch 6 times, most recently from 4f59537 to 0016adc Compare May 22, 2025 13:12
Some nodes may be named after a hostname with dots.
We use the node name to generate podnames, but dots are
invalid in pod names and must be sanitised.

Signed-off-by: Mark Naughton <mnaughto@redhat.com>
@thom311 thom311 merged commit b09b74d into ovn-kubernetes:main May 23, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants