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

Bug: logs / exec interactive for container with custom ports #357

Open
vsoch opened this issue Dec 11, 2024 · 3 comments
Open

Bug: logs / exec interactive for container with custom ports #357

vsoch opened this issue Dec 11, 2024 · 3 comments
Labels
bug Something isn't working status/needs-more-info

Comments

@vsoch
Copy link
Contributor

vsoch commented Dec 11, 2024

Hey @AkihiroSuda! I'm testing the new ports setup, and ran into a bug with respect to looking at logs and interactive shells:

$ kubectl  exec -it somaxconn -- bash
error: Internal error occurred: error sending request: Post "https://10.0.1.25:30031/exec/default/somaxconn/somaxconn?command=bash&input=1&output=1&tty=1": dial tcp 10.0.1.25:30031: connect: connection refused

To reproduce, just set custom ports and then try to look at logs. The same setup without custom ports works to show the logs.

@vsoch vsoch changed the title Bug: logs for container with custom ports Bug: logs / exec interactive for container with custom ports Dec 11, 2024
@AkihiroSuda AkihiroSuda added the bug Something isn't working label Dec 11, 2024
@AkihiroSuda
Copy link
Member

30031

Is this the port you explicitly specified as PORT_KUBELET?

@vsoch
Copy link
Contributor Author

vsoch commented Dec 12, 2024

Is this the port you explicitly specified as PORT_KUBELET?

yes, I think so, if that is the port that populates that command.

@AkihiroSuda
Copy link
Member

Can't repro this on the CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status/needs-more-info
Projects
None yet
Development

No branches or pull requests

2 participants