Closed GithubRyze closed 1 year ago
Hi @GithubRyze
I see Kubelet failing to start because it cannot use the containerd socket
Nov 15 13:34:55 SZ-K8sMaster1Ubuntu microk8s.daemon-kubelite[376332]: F1115 13:34:55.400614 376332 daemon.go:57] Kubelet exited failed to run Kubelet: validate service connection: validate CRI v1 runtime API for endpoint "/var/snap/microk8s/common/run/containerd.sock": rpc error: code = Unimplemented desc = unknown service runtime.v1.RuntimeService
and I also see the following in the containerd logs:
Nov 15 10:23:27 SZ-K8sMaster1Ubuntu microk8s.daemon-containerd[3879370]: time="2023-11-15T10:23:27.119865600+08:00" level=warning msg="failed to load plugin io.containerd.grpc.v1.cri" error="invalid plugin config: `configs.tls` cannot be set when `config_path` is provided"
Looking at the config files, I believe this comes from this additional config in the containerd-template.toml
:
[plugins."io.containerd.grpc.v1.cri".registry.configs."10.18.12.23".tls]
Please refer to the docs with more information about how to configure your registries. https://microk8s.io/docs/registry-private
ok ths
Summary
Version info
logs
AND Other command also like not work
What Should Happen Instead?
Reproduction Steps
Introspection Report
Can you suggest a fix?
Microk8s inspect
inspection-report-20231115_134654.tar.gz