2022. 11. 11. 13:14

kubeadm init 시 오류

kubeadm init 오류

/etc/docker# kubeadm init [init] Using Kubernetes version: v1.24.3 [preflight] Running pre-flight checks error execution phase preflight: [preflight] Some fatal errors occurred: [ERROR CRI]: container runtime is not running: output: E0714 16:19:47.735413 6012 remote_runtime.go:925] "Status from runtime service failed" err="rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService" time="2022-07-14T16:19:47+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



해결방법

/etc/containerd#  sudo rm /etc/containerd/config.toml
/etc/containerd#  sudo systemctl restart containerd
/etc/containerd#  sudo kubeadm init

 


===============================================================================

 

 

오류 2

error execution phase addon/kube-proxy: unable to create ConfigMap: rpc error: code = Unknown desc = malformed header: missing HTTP content-type

 

해결방법

sudo kubeadm init phase addon kube-proxy

1. kubeadm reset

2. kubeadm init phase addon kube-proxy

 

3. kubeadm reset

 

3. kubeadm init

 

 

- 참고

https://github.com/kubernetes/kubeadm/issues/2701

Comment 0