kuryr-kubernetes/kuryr_kubernetes/tests/unit
Michał Dulko 9f722e6200 Periodically fetch full list of watched resources
Kuryr-Kubernetes relies on watching resources in K8s API using an HTTP
stream served by kube-apiserver. In such a distributed system this is
sometimes unstable and e.g. etcd issues can cause some events to be
omitted. To prevent controller from such situations this patch makes
sure that periodically a full list of resources is fetched and injected
as events into the handlers.

We should probably do the same for kuryr-daemon watcher, but that case
is less problematic as it'll be restarted in event of ADD requests
timing out.

Change-Id: I67874d086043071de072420df9ea5e86b3f2582e
2020-06-30 12:31:32 +02:00
..
cmd Use unittest.mock instead of third party mock 2020-04-18 11:53:51 -05:00
cni CNI: Confirm pods in cache before connecting 2020-05-20 17:58:08 +02:00
controller Merge "Add support for amphora to ovn-octavia upgrade" 2020-06-11 17:50:54 +00:00
handlers Periodically fetch full list of watched resources 2020-06-30 12:31:32 +02:00
__init__.py K8s and Neutron clients support 2016-10-03 16:07:03 +00:00
kuryr_fixtures.py Use unittest.mock instead of third party mock 2020-04-18 11:53:51 -05:00
test_clients.py Make _create_ports keys coherent with Neutron API. 2020-04-24 06:48:29 +00:00
test_k8s_client.py Use unittest.mock instead of third party mock 2020-04-18 11:53:51 -05:00
test_linux_net_utils.py Use unittest.mock instead of third party mock 2020-04-18 11:53:51 -05:00
test_object.py Ensure security_groups on LBaaSLoadBalancer defaults to empty list 2020-06-01 10:57:05 +00:00
test_os_vif_plug_noop.py Use unittest.mock instead of third party mock 2020-04-18 11:53:51 -05:00
test_os_vif_util.py Use unittest.mock instead of third party mock 2020-04-18 11:53:51 -05:00
test_utils.py Use unittest.mock instead of third party mock 2020-04-18 11:53:51 -05:00
test_watcher.py Periodically fetch full list of watched resources 2020-06-30 12:31:32 +02:00