Home [Kubernetes]Trouble Shooting
Post
Cancel

[Kubernetes]Trouble Shooting

kubeadm

init / join 오류

1
2
3
4
5
6
7
[preflight] Running pre-flight checks
        [WARNING Swap]: swap is enabled; production deployments should disable swap unless testing the NodeSwap feature gate of the kubelet
error execution phase preflight: [preflight] Some fatal errors occurred:
        [ERROR CRI]: container runtime is not running: output: time="2023-04-18T16:54:14+09:00" level=fatal msg="validate service connection: CRI v1 runtime API is not implemented for endpoint \"unix:///var/run/containerd/containerd.sock\": rpc error: code = Unimplemented desc = unknown service runtime.v1.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
  • [WARNING Swap]
    • Swap 종료
      1
      
      swapoff -a && sed -i '/swap/s/^/#/' /etc/fstab
      
  • [ERROR CRI]
    1
    2
    3
    
    sudo rm /etc/containerd/config.toml
    sudo systemctl restart containerd
    sudo kubeadm init
    
This post is licensed under CC BY 4.0 by the author.