Skip to content
This repository has been archived by the owner on Aug 20, 2022. It is now read-only.

Add support for connecting to KUBERNETES_PORT #326

Open
denisvmedia opened this issue Jun 1, 2022 · 0 comments
Open

Add support for connecting to KUBERNETES_PORT #326

denisvmedia opened this issue Jun 1, 2022 · 0 comments

Comments

@denisvmedia
Copy link

Is your feature request related to a problem? Please describe.
In my application, I need access to Kubernetes itself (e.g., I need to register my api services). Here is how the env looks like:

KUBERNETES_PORT=tcp://10.245.0.1:443
KUBERNETES_SERVICE_PORT_HTTPS=443
KUBERNETES_PORT_443_TCP_ADDR=10.245.0.1
KUBERNETES_PORT_443_TCP_PORT=443
KUBERNETES_PORT_443_TCP_PROTO=tcp
KUBERNETES_PORT_443_TCP=tcp://10.245.0.1:443
KUBERNETES_SERVICE_HOST=10.245.0.1
KUBERNETES_SERVICE_PORT=443

Thus, when I attempt to work with Kubernetes from a locally debugged application, I'm getting the following issue:

Post "https://10.245.0.1:443/apis/apiregistration.k8s.io/v1/apiservices": dial tcp 10.245.0.1:443: i/o timeout

Describe the solution you'd like
Probably a tunnel can be a solution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant