Container level resource limitation (cgroups)
Open
area: compatibility
priority: p2
type: enhancement
- Dominant language
- Go
- Stars
- 19.3k
- Forks
- 2k
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 264
Description
gvisor only support POD level resource limitation(cpu, mem etc.)
In CRI, there is no resource config in [RunPodSandboxRequest](https://github.com/kubernetes/cri-api/blob/master/pkg/apis/runtime/v1alpha2/api.proto#L362). While gvisor only set the cgroup value of runsc-sandbox when creating the first pause container. Thus there is no way to set the resource limitation for container created in CRI situation.
Contributor guide
Assessment
This issue has not been assessed yet.