Skip to content

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

Open
@vsoch

Description

@vsoch

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions