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

Comments

3 participants
@erikwilson
Copy link
Member

erikwilson commented Feb 27, 2019

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")

@erikwilson erikwilson added this to In progress in K3S Development Feb 27, 2019

@erikwilson erikwilson moved this from In progress to Needs review in K3S Development Mar 1, 2019

@erikwilson erikwilson moved this from Needs review to Reviewer approved in K3S Development Mar 1, 2019

@ibuildthecloud ibuildthecloud moved this from Reviewer approved to Testing in K3S Development Mar 4, 2019

@ibuildthecloud ibuildthecloud moved this from Testing to Reviewer approved in K3S Development Mar 4, 2019

@erikwilson erikwilson moved this from Reviewer approved to Needs review in K3S Development Mar 7, 2019

@erikwilson erikwilson moved this from Needs review to Reviewer approved in K3S Development Mar 7, 2019

@cjellick cjellick added this to the v0.2.0 milestone Mar 8, 2019

@cjellick cjellick moved this from Reviewer approved to Testing in K3S Development Mar 8, 2019

@cjellick cjellick added the kind/bug label Mar 8, 2019

K3S Development automation moved this from Testing to Done Mar 9, 2019

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.