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-11-30 15:40:50 +08:00
2016-12-09 09:42:02 +01:00
2016-11-23 15:53:09 -08:00
2016-12-08 14:16:01 -05:00
2016-12-03 19:10:53 -05:00
2016-11-23 15:53:09 -08:00
2016-12-09 09:22:05 +00:00
2016-12-09 09:28:57 +08:00
2016-11-23 15:53:09 -08:00
2016-10-21 17:32:32 -07:00
2016-12-12 11:56:07 -05:00
2016-12-08 14:04:01 -08:00
2016-12-03 19:10:53 -05:00
2016-10-21 17:32:32 -07:00
2016-11-23 15:53:09 -08:00
2016-10-25 10:59:27 -07:00
2016-12-06 14:33:43 +00:00
2016-10-21 17:32:32 -07:00
2016-11-23 15:53:09 -08:00
2016-12-03 19:10:53 -05:00
2016-11-23 15:53:09 -08:00
2016-11-30 15:40:50 +08:00
2016-12-03 19:10:53 -05:00
2016-11-30 15:40:50 +08:00
2016-12-03 19:10:53 -05: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-03 19:10:53 -05:00
2016-12-09 09:42:02 +01:00
2016-12-03 19:10:53 -05:00
2016-11-23 15:53:09 -08:00
2016-12-08 17:13:59 -08:00
2016-07-06 08:19:09 -07:00
2016-07-06 08:19:09 -07:00
2016-07-16 13:48:21 -04:00
2016-08-01 22:27:56 +02:00
2016-07-22 10:19:40 -04:00
2016-06-29 17:47:36 -07:00
2016-11-23 15:53:09 -08:00
2016-12-01 04:52:11 -08:00
2016-12-01 04:52:11 -08:00
2016-12-08 17:13:59 -08:00
2016-12-12 09:29:24 -06: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-30 13:46:39 -08:00
2016-12-09 16:40:13 -05:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00
2016-12-03 19:10:53 -05:00
2016-08-15 14:36:51 -07:00
2016-08-15 14:36:51 -07:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00
2016-06-29 17:47:36 -07:00
2016-06-29 17:47:36 -07:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00
2016-11-04 00:11:55 -04:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00