Skip to content

After setup-container.sh and setup-kubetools.sh, kubeadm init fails on Ubuntu 22.04 #4

@drq883

Description

@drq883

I deployed 3 hosts to create a k8s cluster. Using the O'Reilly Getting Started with Kubernetes, 3rd Edition.

Each host has Ubuntu 22.04.1 LTS installed.

The error shown is:

root@drqk8sctl:~/kubernetes# kubeadm init
[init] Using Kubernetes version: v1.26.1
[preflight] Running pre-flight checks
error execution phase preflight: [preflight] Some fatal errors occurred:
        [ERROR CRI]: container runtime is not running: output: time="2023-02-03T12:33:14-05: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

This setup is pretty easy to redeploy to provide any logs, config files needed.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions