kuryr-kubernetes/kuryr_kubernetes/cni
Michał Dulko d8892d2e72 Civilize logging
Our logs are awful and this commit attempts to fix some issues with
them:
* Make sure we always indicate why some readiness or liveness probe
  fail.
* Suppress INFO logs from werkzeug (so that we don't see every probe
  call on INFO level).
* Remove logging of successful probe checks.
* Make watcher restart logs less scary and include more cases.
* Add backoff to watcher restarts so that we don't spam logs when K8s
  API is briefly unavailable.
* Add warnings for low quotas.
* Suppress some long logs on K8s healthz failures - we don't need full
  message from K8s printed twice.

I also refactored CNI and controller health probes servers to make sure
they're not duplicating code.

Change-Id: Ia3db4863af8f28cfbaf2317042c8631cc63d9745
2020-07-03 15:09:52 +02:00
..
binding Civilize logging 2020-07-03 15:09:52 +02:00
daemon CNI: Don't wait for missing pods on DEL 2020-06-09 17:25:26 +02:00
plugins CNI: Don't wait for missing pods on DEL 2020-06-09 17:25:26 +02:00
__init__.py Experimental CNI & VIFBridge binding 2016-12-05 18:05:22 +00:00
api.py Removing six library. 2020-02-28 14:45:46 +01:00
handlers.py Removing six library. 2020-02-28 14:45:46 +01:00
health.py Civilize logging 2020-07-03 15:09:52 +02:00
main.py Removing six library. 2020-02-28 14:45:46 +01:00
utils.py Basic Python 3 compatibility fixes 2019-11-22 09:19:14 +01:00