kuryr-kubernetes/kuryr_kubernetes/cni
Michał Dulko 9dbfac0e43 Delete pods from registry in CNI daemon
Initial implementation of kuryr-daemon was only adding new pods to the
in-memory registry and not deleting them. While the amount of data is
tiny, it will accumulate over time and in practice be a memory leak. We
should aim to prevent that, especially taking into account most recent
efforts to base health checks on memory usage.

This commit makes kuryr-daemon react to pod deletions with removals of
pods from the in-memory registry.

Change-Id: I45babc325b7a727d6a973717f6653a40503ad991
Closes-Bug: 1750394
(cherry picked from commit 89a8bd08b5)
2018-02-22 18:12:08 +01:00
..
binding Fix kubelet retries issues 2018-01-04 19:20:06 +01:00
daemon Delete pods from registry in CNI daemon 2018-02-22 18:12:08 +01:00
__init__.py Experimental CNI & VIFBridge binding 2016-12-05 18:05:22 +00:00
api.py CNI split - introducing CNI daemon 2017-11-21 08:50:04 +01:00
handlers.py Delete pods from registry in CNI daemon 2018-02-22 18:12:08 +01:00
main.py CNI split - introducing CNI daemon 2017-11-21 08:50:04 +01:00
utils.py CNI split - introducing CNI daemon 2017-11-21 08:50:04 +01:00