-
Notifications
You must be signed in to change notification settings - Fork 20
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
Can't connect to k3s container #4
Comments
Hi @rpocase! Sorry you're having issues with this. It looks like the README is wrong. We typically use k3s on its own Docker network, so the instructions have some remnants of that usage. See if this set of steps works for you: First, make sure any previous k3s containers are not running:
Then run without putting k3s on its own network and instead, expose the API port:
Then the final couple of steps should work:
Note that this form uses Docker's host networking. So if you plan on running Kubernetes network services, you'll need to also expose those ports (using Please confirm that this works for you and I'll update the README. Or if it doesn't, let me know and I'll help troubleshoot. |
Thanks for the fast feedback. That does get me going on from an API perspective.
I am still seeing a lot of
|
We also see that in our logs, but so far haven't noticed any other effect, so it hasn't been worthwhile to track down what's going on. |
Fixes: unboundedsystems#4 Also add some more detail on interacting with Docker networking.
Thanks for putting this together! I'm looking at evaluating this in place of rolling my own or extending this to try and be usable with k3d. I'm having trouble getting the service to actually launch, though. Any suggestions?
Steps to reproduce:
Getting a lot of errors in the k3s container logs, but they all seem to be the same root cause.
The text was updated successfully, but these errors were encountered: