You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to start k3s with an minimal and custom linux os. Looks like I missed an dependency because of the bad certificate error?
INFO[2019-03-05T21:56:43.935544567Z] Node token is available at /var/lib/rancher/k3s/server/node-token
INFO[2019-03-05T21:56:43.938445642Z] To join node to cluster: k3s agent -s https://10.0.2.15:6443 -t ${NODE_TOKEN}
DEBU[2019-03-05T21:56:44.020062662Z] 2019/03/05 21:56:44 http: TLS handshake error from 127.0.0.1:51502: remote error: tls: bad certificate
INFO[2019-03-05T21:56:44.058142414Z] Wrote kubeconfig /etc/rancher/k3s/k3s.yaml
INFO[2019-03-05T21:56:44.059641236Z] Run: k3s kubectl
INFO[2019-03-05T21:56:44.061035027Z] k3s is up and running
DEBU[2019-03-05T21:56:44.075399790Z] 2019/03/05 21:56:44 http: TLS handshake error from 127.0.0.1:51510: remote error: tls: bad certificate
DEBU[2019-03-05T21:56:44.117059043Z] 2019/03/05 21:56:44 http: TLS handshake error from 127.0.0.1:51516: remote error: tls: bad certificate
INFO[2019-03-05T21:56:44.182152409Z] Logging containerd to /var/lib/rancher/k3s/agent/containerd/containerd.log
INFO[2019-03-05T21:56:44.184427732Z] Running containerd -c /var/lib/rancher/k3s/agent/etc/containerd/config.toml -a /run/k3s/containerd/containerd.sock --state /ru
INFO[2019-03-05T21:56:44.190723546Z] Waiting for containerd startup: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection e
containerd: exit status 1
The text was updated successfully, but these errors were encountered:
bad certificate is not an actual error, that just happens during startup until a proper cert is generated. That is why it's printed at DEBUG level.
The most common cause of what you are seeing is that your hostname is not in your /etc/hosts file and bound to a local IP (example: 127.0.0.1). This requirement should be removed in the future, but we need to hack up containerd/kubelet a bit to remove it. To fix run
I tried to start k3s with an minimal and custom linux os. Looks like I missed an dependency because of the bad certificate error?
The text was updated successfully, but these errors were encountered: