kuryr-kubernetes/kuryr_kubernetes/controller
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
..
drivers Removing pod argument for activate_vif method. 2020-06-23 13:40:49 +02:00
handlers Civilize logging 2020-07-03 15:09:52 +02:00
managers Civilize logging 2020-07-03 15:09:52 +02:00
__init__.py Controller service base 2016-10-04 21:56:50 +03:00
service.py Disable urllib3 warnings 2020-04-08 12:59:54 +02:00