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

k3s systemd service should wait until the server is ready #57

Closed
erikwilson opened this issue Feb 27, 2019 · 0 comments
Closed

k3s systemd service should wait until the server is ready #57

erikwilson opened this issue Feb 27, 2019 · 0 comments
Labels
kind/bug Something isn't working
Milestone

Comments

@erikwilson
Copy link
Contributor

If the k3s service is started and we immediately attempt to use the service it may fail:

root@eeabbe84a77e:~# systemctl stop k3s.service && systemctl start k3s.service && k3s kubectl get nodes
The connection to the server localhost:6443 was refused - did you specify the right host or port?
root@eeabbe84a77e:~# systemctl stop k3s.service && systemctl start k3s.service && k3s kubectl get nodes
Unable to connect to the server: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "k3s-ca")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants