Skip to content

Make sandbox join the pod cgroup in K8s#6007

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test/cl373488697
May 17, 2021
Merged

Make sandbox join the pod cgroup in K8s#6007
copybara-service[bot] merged 1 commit into
masterfrom
test/cl373488697

Conversation

@copybara-service

Copy link
Copy Markdown

Make sandbox join the pod cgroup in K8s

cgroups in K8s are setup with the following hierarchy: .../pod/container.
The sandbox is created with the first container and consequently uses the
the pause container cgroup. This change removes the container cgroup from
the path to make the sandbox use the pod cgroup instead. Otherwise limits
set to the pause container will apply to the entire sandbox.

@copybara-service copybara-service Bot added the exported Issue was exported automatically label May 17, 2021
@google-cla google-cla Bot added the cla: yes CLA has been signed label May 17, 2021
cgroups in K8s are setup with the following hierarchy: `.../pod/container`.
The sandbox is created with the first container and consequently uses the
the pause container cgroup. This change removes the container cgroup from
the path to make the sandbox use the pod cgroup instead. Otherwise limits
set to the pause container will apply to the entire sandbox.

PiperOrigin-RevId: 374273277
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes CLA has been signed exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant