Clair Health endpoint doesn't monitor dependency availability #539
Labels
kind/design
relates to the fundamental design of a component
kind/feature request
wishes for new functionality/docs
Description of Problem:
Something caused DNS resolution inside the docker container to go south. In fact, I ran a busybox container on the same machine and it also can't resolve anything.
Clair logs have several DNS resolution errors that look like this:
Additionally, there are a few logs like this (host name, key id, and DNS IP have been redacted):
However, curling http://localhost:6061/health returns a 200 OK.
Expected Outcome:
If Clair can't talk with things it needs (e.g. remote repositories, database, quay enterprise), the health check should indicate that the system is unhealthy.
Actual Outcome:
curling http://localhost:6061/health returns a 200 OK.
Environment:
uname -a
): Linux 4.4.0-1052-aws Question: Does Clair support Mysql database? #61-Ubuntu SMP Mon Feb 12 23:05:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linuxkubectl version
): N/Ahelm version
): N/AThe text was updated successfully, but these errors were encountered: