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

[Backport release-1.30] Change kine metrics port from 8080 to 2380 #4423

Merged
merged 1 commit into from
May 16, 2024

Conversation

k0s-bot
Copy link

@k0s-bot k0s-bot commented May 16, 2024

Automated backport to release-1.30, triggered by a label in #4421.
See #4420 #4419 #4411.

The default port is 8080. This conflicts with kube-router, which
since 2.x fails if it cannot bind to its metrics port. This leads to a
situation where the default configuration for a single node k0s cluster
is broken, as kube-router will go into a crash loop. Kube-router 1.x
will not be able to provide metrics, but will simply log the error and
move on. The integration tests did not cover this case properly, as
the kube-router manifests did not specify a readiness probe that the
inttests need to detect problems with daemon sets.

Port 2380 was chosen because it is normally used by etcd. Kine also uses
port 2379 for the client API, so why not use 2380 as well?

Signed-off-by: Tom Wieczorek <[email protected]>
(cherry picked from commit 179989e)
@k0s-bot k0s-bot requested a review from a team as a code owner May 16, 2024 06:05
@k0s-bot k0s-bot requested review from ncopa and jnummelin May 16, 2024 06:05
@twz123 twz123 merged commit 7c74745 into release-1.30 May 16, 2024
76 checks passed
@twz123 twz123 deleted the backport-4421-to-release-1.30 branch May 16, 2024 10:30
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