Questions tagged [containerd]

37 questions
1
vote
1 answer

Offline installation of kubernetes fails when using containerd as a CRI

I had to build a bare-metal Kubernetes cluster with no Internet connection for some reason. As dockershim was deprecated, I decided to use containerd as a CRI, but the offline installation with kubeadm failed while executing kubeadm init due to…
Daigo
  • 343
  • 7
  • 20
1
vote
2 answers

Kubeadm with containerd cannot use locally loaded images

I'm trying to build kubernetes with containerd in bare-metal server (RHEL8). There's no Internet connection so I manually downloaded needed images (e.g. k8s.gcr.io/kube-scheduler:v1.22.1) and loaded them using "ctr image import". The images seem to…
Daigo
  • 343
  • 7
  • 20
1
vote
0 answers

The `containerd` daemon fails to start due to IO error (and subsequent segfault)

Running on Manjaro Linux, kernel 5.13. After system update, containerd service fails to start and segfaults after it cannot run garbage collection. Logs are attached on Pastebin. After short investigation, I found out that problem is that contained…
k.meinkopf
  • 11
  • 1
1
vote
1 answer

Free up space on K3s cluster

I have a K3s single-node cluster running with Containerd and where I'm reaching the space disk limit. It seems I have some old unused docker images on the machine. How can I cleanup those in order to free up the disk ? Thanks EDIT After further…
iAmoric
  • 121
  • 1
  • 4
0
votes
0 answers

Unable to Install Kubelet, Kubeadm Because It Requires Later Version of Cri-Tools

-1 I am taking a Coursera class for CKA Prep and as part of that we are provisioning an instance of a node on Amazon EC2, installing the container runtime (which is containerd in this case) and now I am at the step where I need to install kubeadmn…
Rasputin
  • 1
  • 1
0
votes
0 answers

"[kubelet-check]" kubelet not running when: kubeadm init

When the command: kubeadm init, is commited eventually this error pops up: [kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get "http://localhost:10248/healthz": dial tcp 127.0.0.1:10248: connect:…
0
votes
1 answer

Crashing cluster after kubeadm init on VPS

Problem Whenever I create my cluster, and deploy Flannel, it works for maybe ~5 minutes. When I check the cluster info by kubectl cluster-info, it shows the correct information. After a while, it simply shows The connection to the server…
Bas
  • 101
  • 1
0
votes
1 answer

Trying to install Kubernetes in RHEL 8.5 (CRI-O) - getting error

Trying to install Kubernetes in RHEL 8.5 (CRI-O) - getting error Error: Failed to download metadata for repo 'devel_kubic_libcontainers_stable: Downloading error(s):…
0
votes
0 answers

How can I make Kubernetes use a private repository by default with Nexus and Containerd?

K8S need to use private repo by default I'm currently trying to use Nexus Repo by default for Kubernetes. But I have 2 problems. The first one is that if I don't specify the repository, it will directly search on docker.io, despite the fact that…
0
votes
0 answers

How to change default bridge subnet for nerdctl

With nerdctl, I can change the subnet of the default bridge in /etc/cni/net.d/nerdctl-bridge.conflist to, e.g., 100.64.0.0/24. However, nerdctl still assigns 10.4.0.0/24 for new bridges (nerdctl network create foo). How can I configure nerdctl to…
Stephan
  • 275
  • 2
  • 7
0
votes
1 answer

Is it possible to set env vars for containerd?

I am currently trying to switch my K8 nodes from using dockerd to containerd. For environment-specific reasons, I ned to specify http_proxy. In the dockerd world, I can specify environment variables by using the following steps. Putting lines such…
merlin2011
  • 273
  • 1
  • 12
0
votes
2 answers

Kubelet Error - the container runtime endpoint address was not specified or empty

I try to install Kubernetes Cluster v1.26 (3 nodes - Rocky 9) using kubeadm and I have a problem regarding kubelet. I have followed this tutorial in parallel with official kubernetes cluster installation. After kubelet installation, the status…
Lucian
  • 11
  • 1
  • 3
0
votes
1 answer

kubeadm 1.25 init failed on Debian 11 with containerd -> connection refused

I try to init a kubernetes master node running on a Debian GNU/Linux 11 (bullseye) system with kubeadm version 1.25.4-00. I followed the official guideline on kubernetes.io. I installed containerd and have set SystemdCgroup = true in…
Ralph
  • 101
  • 4
0
votes
1 answer

Where does `ctr task list` get the list of tasks from?

After upgrading containerd on ubuntu 1.5.9-0ubuntu1~20.04.4 -> 1.5.9-0ubuntu1~20.04.5 I started having weird containerd tasks: # ctr --namespace k8s.io task ls|grep -i unkn 49f54c1c7bce53a7f73314a9f3c80eaf1534dcc6095ddce29d7f77ac86ac5e02 0 …
zerkms
  • 431
  • 2
  • 5
  • 17
0
votes
1 answer

Kubernetes pull from image private network / fails to respect /etc/hosts of server

(Reposted from original post at: https://stackoverflow.com/questions/73012913/kubernetes-pull-from-image-private-network-fails-to-respect-etc-hosts-of-serv as this is a more appropriate place to ask the question) I am running a small 3 node test…
Aaron Murray
  • 139
  • 2
  • 8