kubernetes / minikube

Run Kubernetes locally
https://minikube.sigs.k8s.io/
Apache License 2.0
29.23k stars 4.87k forks source link

kvm2 cgroups v2 #19105

Open kfox1111 opened 3 months ago

kfox1111 commented 3 months ago

What Happened?

Would like to test with cgroups v2 enabled

Attach the log file

It seems to only support cgroups v1

Operating System

Redhat/Fedora

Driver

KVM2

kundan2707 commented 3 months ago

Running with cggroups v2 is now by default https://kubernetes.io/docs/setup/production-environment/container-runtimes/#cgroup-drivers minikube should already be doing this. I dont think there should be any issue.

kundan2707 commented 3 months ago

/kind support

kfox1111 commented 3 months ago

Looks like its probably just switching the kvm image to use v2. Right now its v1. according to https://kubernetes.io/docs/concepts/architecture/cgroups/#check-cgroup-version tmpfs means v1.

minikube ssh -- stat -fc %T /sys/fs/cgroup/
tmpfs
k8s-triage-robot commented 1 week ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale