Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix containerd installation #116

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

ocobles
Copy link
Contributor

@ocobles ocobles commented Jan 26, 2023

The installation has recently started to fail. Replacing containerd with docker containerd.io package fixes this issue.

[preflight] Running pre-flight checks
error execution phase preflight: [preflight] Some fatal errors occurred:
        [ERROR CRI]: container runtime is not running: output: time="2023-01-25T15:55:02Z" 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

Actions:

  • Replace containerd incuded in default ubuntu repo with containerd.io from docker repo
  • Upgrade ubuntu to 22.04
  • Upgrade tigera to v3.25

Kubernetes cannot be upgraded to 1.25+ until metallb is upgraded to 0.13+

}

function install_kube_tools {
echo "Installing Kubeadm tools..." ;
sed -ri '/\sswap\s/s/^#?/#/' /etc/fstab
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sed -i.bak -E -e might be a way to keep the \s patterns (which should be more versatile and forgiving to minor changes in the stock config file between OS versions).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants