Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I encountered when executing kubeadm init error issue [closed]

I encountered as below when executing sudo kubeadm init Help me~~

$ sudo kubeadm init
[init] Using Kubernetes version: v1.24.1
[preflight] Running pre-flight checks
        [WARNING SystemVerification]: missing optional cgroups: blkio
error execution phase preflight: [preflight] Some fatal errors occurred:
        [ERROR CRI]: container runtime is not running: output: E0605 10:35:34.973561   12491 remote_runtime.go:925] "Status from runtime service failed" err="rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService"
time="2022-06-05T10:35:34+09:00" level=fatal msg="getting status of runtime: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService"
, error: exit status 1
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
To see the stack trace of this error execute with --v=5 or higher
like image 894
Jaehyun Lee Avatar asked Dec 09 '25 11:12

Jaehyun Lee


1 Answers

work around found here : https://github.com/containerd/containerd/issues/4581

rm /etc/containerd/config.toml
systemctl restart containerd
kubeadm init
like image 167
benj Avatar answered Dec 13 '25 12:12

benj



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!