mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #70826 from kolyshkin/shareable-ipc-sandbox
Use shareable IPC for sandbox container
This commit is contained in:
commit
e76322eab4
@ -593,7 +593,9 @@ func (ds *dockerService) makeSandboxDockerConfig(c *runtimeapi.PodSandboxConfig,
|
||||
// TODO(random-liu): Deprecate this label once container metrics is directly got from CRI.
|
||||
labels[types.KubernetesContainerNameLabel] = sandboxContainerName
|
||||
|
||||
hc := &dockercontainer.HostConfig{}
|
||||
hc := &dockercontainer.HostConfig{
|
||||
IpcMode: dockercontainer.IpcMode("shareable"),
|
||||
}
|
||||
createConfig := &dockertypes.ContainerCreateConfig{
|
||||
Name: makeSandboxName(c),
|
||||
Config: &dockercontainer.Config{
|
||||
|
Loading…
Reference in New Issue
Block a user