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

Make bind address of apiserver configurable #2884

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

szvincze
Copy link

This is a proposed solution for #2883.

I tried to keep the compatibility to the current behavior. The address is not a mandatory parameter in the configuration, so the original setting will provide the same result as currently, that the bind address will be "0.0.0.0"
If the address is configured then the API server will try to bind to that instead of 0.0.0.0.

If api_address: "localhost" configured:

time="2025-03-22T11:11:14Z" level=info msg="listening on localhost:8080" pkg=apiserver

@szvincze szvincze marked this pull request as draft March 22, 2025 10:17
@szvincze szvincze marked this pull request as ready for review March 22, 2025 10:18
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.

1 participant