kuryr-kubernetes/kuryr_kubernetes/cni
Antoni Segura Puimedon 372b835ebb process to gracefully exit when last watcher exits
In case all the watchers (in the CNI case the pod watcher only) have
gracefully exited, continuing the process only serves to give a false
appearance of things working. At the same time, it prevents the
containerized deployment orchestrator from realizing that the Kuryr pod
is not functional so it does not restart it.

This fix allows non health proves environments where all watchers have
gracefully exited to be restarted by k8s/ocp and eventually work again
should the issue that made the graceful exits happen be solved.

Change-Id: Id70978e06d980bc0ffa08bcee02d78bef9dcbeb8
Closes-Bug: #1776676
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
2018-07-12 16:22:01 +02:00
..
binding Allow passing multiple VIFs to CNI 2018-05-25 16:02:37 +03:00
daemon process to gracefully exit when last watcher exits 2018-07-12 16:22:01 +02:00
plugins Allow passing multiple VIFs to CNI 2018-05-25 16:02:37 +03:00
__init__.py Experimental CNI & VIFBridge binding 2016-12-05 18:05:22 +00:00
api.py Proceed CNI output in format of version 0.3.1 2018-07-04 13:04:35 +00:00
handlers.py Allow passing multiple VIFs to CNI 2018-05-25 16:02:37 +03:00
health.py Fix health server binding address 2018-06-27 11:37:01 +02:00
main.py Deprecate running kuryr-k8s without kuryr-daemon 2018-03-14 15:44:16 +01:00
utils.py cni health: track all cgroup memory usage 2018-03-06 22:24:58 +01:00