0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Microk8sで error getting ClusterInformation: connection is unauthorized: Unauthorized とか言われてpodが起動しないとき

Posted at

事象

Events:
  Type     Reason                  Age   From     Message
  ----     ------                  ----  ----     -------
  Warning  FailedCreatePodSandBox  9s    kubelet  Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "xxxxx": plugin type="calico" failed (add): error getting ClusterInformation: connection is unauthorized: Unauthorized
  Normal   SandboxChanged          8s    kubelet  Pod sandbox changed, it will be killed and re-created.

解決

$ kubectl rollout restart daemonset calico-node -n kube-system 

この前にも各ノードでsnap restart microk8sとかしたのでそのへんも効いていたかもしれない。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?