Questions tagged [containerd]

37 questions
7
votes
4 answers

containerd 1.4.9 Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService

I have installed containerd 1.4.9 on CentOS steam 8 server. based on this document https://containerd.io/docs/getting-started/. I have created default config file containerd config default > /etc/containerd/config.toml like this. after restarting…
sfgroups
  • 243
  • 2
  • 4
  • 14
6
votes
4 answers

package docker-ce requires containerd.io >= 1.4.1, but none of the providers can be installed

I had this problem this morning for both update / upgrade on red hat (Linux 4.18.0-240.1.1.el8_3.x86_64), not sure what to do. Sounds like yum is completely stuck because of this. $ sudo yum update Updating Subscription Management repositories. Last…
martin
  • 163
  • 1
  • 4
4
votes
2 answers

Kubeadm 1.24 with containerd. Kubeadm init fail (centos 7)

I try to install a single node cluster on centos 7, with kubadm 1.24 and with containerd, i followed the installation steps, and i did: containerd config default > /etc/containerd/config.toml and passed : SystemdCgroup = true but the kubeadm init…
awot83
  • 71
  • 2
  • 6
4
votes
1 answer

How do you login to docker hub when using containerd?

With docker I would run docker login, but how do you do similar with ctr/containerd? We need to login due to hitting rate limits: ctr: failed to copy: httpReaderSeeker: failed open: unexpected status code…
Jethro
  • 159
  • 1
  • 7
3
votes
2 answers

What linux name and version will I see in a container?

I execute cat /etc/os-release in a container. I have an Ubuntu 22.04 docker host. When I run a container, and see the linux os-release file inside the container, I see my Ubuntu name, regardless in which container I execute it... However I also have…
g.pickardou
  • 199
  • 12
3
votes
2 answers

All kube-system pods keep crashing, etcd receives sigterm

I'm trying to set up an on-premises Kubernetes cluster. For starters I used kubeadm to initialize my control plane on one node. But all kube-system pods constantly crash. I took a deep look into the pod logs via crictl and it turns out that most…
Be Ku
  • 133
  • 4
3
votes
1 answer

What path on disk does a containerd snapshot key map to?

I want to remove a snapshot from a node in our Kubernates cluster: /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/NNNN But I am unable to map this path to any snapshots as reported by ctr -n k8s.io snapshots list. I have tried…
Gunnar
  • 151
  • 2
2
votes
1 answer

Pod is stuck in PodInitializing status when an initContainer is OOMKilled

I have the following on-prem Kubernetes environment: OS: Red Hat Enterprise Linux release 8.6 (Ootpa) Kubernetes: 1.23.7 (single-node, build with kubeadm) NVIDIA driver: 515.65.01 nvidia-container-toolkit: 1.10.0-1.x86_64 (rpm) containerd:…
Daigo
  • 343
  • 7
  • 20
2
votes
1 answer

How to start containerd as a service after yum install?

I installed containerd on Amazon Linux 2 using the suggested commands: sudo amazon-linux-extras enable docker sudo yum install -y containerd I added this in the EC2 user data script to run at instance launch time. But, how am I supposed to start…
Jonas
  • 1,187
  • 5
  • 19
  • 33
2
votes
1 answer

Warnings in kubeadm after migrating from docker to containerd

I run a kubernetes cluster, installed with kubeadm. I recently upgraded from 1.19 to 1.20 and migrated the container runtime from docker to containerd, since docker is now deprecated. I configured containerd and kubelet to use it, and uninstalled…
Antoine
  • 281
  • 1
  • 3
  • 12
2
votes
2 answers

Shutdown all docker containers

I just discovered that service docker stop on Ubuntu 18.04 doesn't shutdown all running containers. I can't control them anymore but the containerd-ship processes and everything that's inside the containers is still running (but not reachable…
Daniel Alder
  • 545
  • 1
  • 10
  • 19
1
vote
1 answer

How do I enable containerd?

When I run systemctl status containerd, I get the following output: ● containerd.service - containerd container runtime Loaded: loaded (/usr/lib/systemd/system/containerd.service; disabled; vendor preset: disabled) Active: active (running)…
merlin2011
  • 273
  • 1
  • 12
1
vote
0 answers

no connection and cgroup error on standalone kubelet with containerd on ubuntu

I am trying to setup kubelet component as standalone service from kubernetes page, though it seems I am missing something. I've configured the containerd + runc (according to steps) with: $ mkdir -p /etc/containerd/ $ containerd config default | tee…
Robson Jr
  • 11
  • 1
1
vote
1 answer

Is there a way to use Docker inside of a Pod in a Kubernetes cluster with containerd on the nodes

I have a Kubernetes cluster running with containerd on the nodes. I don't have the ability to install things on the nodes. My task now is to deploy a pod which can use docker commands inside, for examle a docker pull or push. So docker should work…
Tamino Elgert
  • 83
  • 1
  • 1
  • 9
1
vote
1 answer

Pods on a k8s node are unaccessible, kube-proxy or CNI failed

I have add a new node to my k8s cluster, but I found some allocated to this node cannot show logs like this: $ kubectl logs -n xxxx xxxxx-6d5bdd7d6f-5ps6k Unable to connect to the server: EOF Using Lens gives error logs like this: Failed to load…
Andy Huang
  • 121
  • 5
1
2 3