Files
kubernetes/pkg/kubelet
Kubernetes Submit Queue f12eda8777 Merge pull request #38457 from resouer/fix-cgroup-cri
Automatic merge from submit-queue (batch tested with PRs 38419, 38457, 38607)

Fix pod level QoS does not works on CRI dockershim

Fixes: https://github.com/kubernetes/kubernetes/issues/38458

We did set `CgroupParent ` in `CreateContainer`, but the `HostConfig.Resources` which `CgroupParent` belongs to is override by the following code:

```
hc.CgroupParent = lc.GetCgroupParent()

...

hc.Resources = dockercontainer.Resources{
	Memory:     rOpts.GetMemoryLimitInBytes(),
...
}
```

That's why `HostConfig.CgroupParent` is always empty and pod level QoS does not work.
2016-12-12 12:48:07 -08:00
..
2016-12-03 19:10:46 -05:00
2016-12-09 09:42:02 +01:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00
2016-10-21 17:32:32 -07:00
2016-12-08 14:04:01 -08:00
2016-10-21 17:32:32 -07:00
2016-11-23 15:53:09 -08:00
2016-10-21 17:32:32 -07:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00
2016-12-09 09:42:01 +01:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00
2016-12-09 09:42:02 +01:00
2016-11-23 15:53:09 -08:00
2016-07-16 13:48:21 -04:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00
2016-12-09 09:42:01 +01:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00
2016-12-08 14:04:01 -08:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00