kuryr-kubernetes/kuryr_kubernetes/tests/unit/cni
Antoni Segura Puimedon 8f453a2dda
cni health: track all cgroup memory usage
The CNI daemon should always be run in its own cgroup. That typically
can take two forms:

- Running inside a container
- Running as a systemd service

This patch changes the way the memory usage is tracked so that both
of the cgroup memberships listed above are supported.

Thanks to using cgroups for tracking the memory usage, we will finally
take into account the CNI daemon children memory usage.

Change-Id: I0ef48742653d5c17ea0cc787ae3a997d5d315c5a
Closes-Bug: 1752939
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
2018-03-06 22:24:58 +01:00
..
plugins Make CNI Registry Plugin namespace aware 2018-03-02 16:09:57 +01:00
__init__.py Prevent pyroute2.IPDB threads leaking 2017-11-17 12:30:54 +01:00
test_api.py Move cni plugins to a common folder 2018-03-02 16:04:00 +01:00
test_binding.py Move cni plugins to a common folder 2018-03-02 16:04:00 +01:00
test_health.py cni health: track all cgroup memory usage 2018-03-06 22:24:58 +01:00
test_main.py Move cni plugins to a common folder 2018-03-02 16:04:00 +01:00
test_service.py Move cni plugins to a common folder 2018-03-02 16:04:00 +01:00
test_utils.py cni health: track all cgroup memory usage 2018-03-06 22:24:58 +01:00