-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[cgroup2, driver=docker, runtime=containerd] failed to create containerd task: cgroups: cgroup mountpoint does not exist #11310
Comments
@AkihiroSuda I believe we currently dont have an integration test with cgroups v2 but we improved it a bit in 1.20.0-beta0 |
/triage needs-information |
Tried 1.20, same error. |
The problem is that minikube still uses deprecated runtime This patch works: --- /etc/containerd/config.toml.bak 2021-05-07 08:34:12.071667558 +0000
+++ /etc/containerd/config.toml 2021-05-07 08:35:41.652779974 +0000
@@ -36,15 +36,6 @@
max_container_log_line_size = 16384
[plugins.cri.containerd]
snapshotter = "overlayfs"
- no_pivot = true
- [plugins.cri.containerd.default_runtime]
- runtime_type = "io.containerd.runtime.v1.linux"
- runtime_engine = ""
- runtime_root = ""
- [plugins.cri.containerd.untrusted_workload_runtime]
- runtime_type = ""
- runtime_engine = ""
- runtime_root = ""
[plugins.cri.cni]
bin_dir = "/opt/cni/bin"
conf_dir = "/etc/cni/net.mk"
@@ -55,12 +46,6 @@
endpoint = ["https://registry-1.docker.io"]
[plugins.diff-service]
default = ["walking"]
- [plugins.linux]
- shim = "containerd-shim"
- runtime = "runc"
- runtime_root = ""
- no_shim = false
- shim_debug = false
[plugins.scheduler]
pause_threshold = 0.02
deletion_threshold = 0 $ minikube kubectl get -- pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system coredns-74ff55c5b-2q8pj 1/1 Running 0 109s
kube-system etcd-minikube 1/1 Running 0 113s
kube-system kindnet-858kj 1/1 Running 0 109s
kube-system kube-apiserver-minikube 1/1 Running 0 113s
kube-system kube-controller-manager-minikube 1/1 Running 0 113s
kube-system kube-proxy-rs987 1/1 Running 0 109s
kube-system kube-scheduler-minikube 1/1 Running 0 113s
kube-system storage-provisioner 1/1 Running 0 2m1s |
PR: #11325 |
Steps to reproduce the issue:
minikube start --driver=docker --container-runtime=containerd
"CreatePodSandbox for pod \"kube-apiserver-minikube_kube-system(c767dbeb9ddd2d01964c2fc02c621c4e)\" failed: rpc error: code = Unknown desc = failed to create containerd task: cgroups: cgroup mountpoint does not exist: unknown"
Vagrantfile:
Full output of
minikube logs
command:Full output of failed command:
The text was updated successfully, but these errors were encountered: