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

K8s/cri-o broken for cgroup-driver != systemd #3538

Open
uablrek opened this issue Jun 10, 2024 · 0 comments
Open

K8s/cri-o broken for cgroup-driver != systemd #3538

uablrek opened this issue Jun 10, 2024 · 0 comments

Comments

@uablrek
Copy link

uablrek commented Jun 10, 2024

This:

if !strings.HasSuffix(path.Base(name), CrioNamespaceSuffix) {
// this mean it's a sandbox container
return true, false, nil
}

checks for .scope suffix, but that is unique for cgroup-driver=systemd (systemd.scope.5).

This causes K8s systems with cri-o to fail getting pod/container metrics in K8s v1.30+ if --cgroup-driver=cgroupfs is used (which is the default).

Ref cri-o/cri-o#8034

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

No branches or pull requests

1 participant