kuryr-kubernetes/kuryr_kubernetes
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
..
cmd Basic Python 3 compatibility fixes 2019-11-22 09:19:14 +01:00
cni Civilize logging 2020-07-03 15:09:52 +02:00
controller Civilize logging 2020-07-03 15:09:52 +02:00
handlers Run on_finalize() for ADDED events 2020-03-24 16:48:53 +01:00
objects Ensure security_groups on LBaaSLoadBalancer defaults to empty list 2020-06-01 10:57:05 +00:00
pod_resources Add PodResources gRPC API updating guide 2019-08-02 17:50:32 +03:00
tests Removing pod argument for activate_vif method. 2020-06-23 13:40:49 +02:00
__init__.py Implement Guru meditation reports 2017-04-13 03:19:08 +00:00
clients.py Ensure allowed_cidrs field is present on older openstacksdk versions 2020-06-03 14:09:35 +00:00
config.py Remove lb sg creation when octavia provider is ovn-octavia 2020-05-28 08:08:16 +00:00
constants.py Delete neutron ports for Failed/Succeeded pods 2020-03-24 09:58:36 +09:00
exceptions.py Namespace event handling through KuryrNet CRD 2020-03-13 12:30:07 +01:00
health.py Civilize logging 2020-07-03 15:09:52 +02:00
k8s_client.py Civilize logging 2020-07-03 15:09:52 +02:00
linux_net_utils.py Remove log translations 2017-03-28 15:13:49 +08:00
opts.py Remove pod_ip_caching from _kuryr_k8s_opts 2020-04-13 14:10:41 +02:00
os_vif_plug_noop.py Add DPDK support for nested pods 2020-02-04 10:59:45 +03:00
os_vif_util.py Autogenerate path for vhostuserclient socket 2020-03-16 16:40:57 +03:00
utils.py Civilize logging 2020-07-03 15:09:52 +02:00
version.py Add kuryr-status utility for upgrade-checkers 2018-10-03 15:09:53 +02:00
watcher.py Remove exit_on_stop from Watcher 2019-09-04 10:26:56 +02:00