google / google/gvisor

Container level resource limitation (cgroups)

Open
#190 17 comments 3 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.