Skip to content

Can Sysbox help with cpu.cfs_quota_us: invalid argument: unknown error when running kind inside a k8s pod? #497

Answered by ctalledo
felipecrs asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @felipecrs, thanks for opening the issue.

EDIT: you only run into this problem if you try to deploy a resource constrained pod (cpu requests/limit) in the underlying kind cluster.

Can you provide a sample pod spec that would trigger this?

If we are doing things right in Sysbox, running kind inside a (rootless) Sysbox pod should work, regardless of whether you set CPU requests/limits on the pod, as long as you set them to a value that is large enough to accommodate the values that kind will need.

In general, I don't recommend mounting the host's /sys/fs/cgroup into the pod, as that essentially exposes the entire cgroup hierarchy of the host inside the container, breaking isolation.

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
9 replies
@felipecrs
Comment options

@ctalledo
Comment options

@felipecrs
Comment options

@felipecrs
Comment options

@ctalledo
Comment options

Answer selected by felipecrs
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
invalid This doesn't seem right
2 participants