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

Error when targeting a different (than 8080) API port #1131

Open
greyarch opened this issue May 21, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@greyarch
Copy link

commented May 21, 2019

I am useing k3s and by default the kubernetes API listens on port 6443. When trying to do
kompose up
in this situation I get
Error while deploying application: Get http://localhost:8080/api: dial tcp [::1]:8080: connect: connection refused
Is there a way to target a different (than 8080) port?

@hangyan hangyan self-assigned this May 22, 2019

@greyarch

This comment has been minimized.

Copy link
Author

commented May 23, 2019

A simple solution is to start a proxy to the API that listens on 8080.

kubectl proxy --port=8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.