kubernetesflaskpython-3.12readinessprobelivenessprobe

Python Flask-Healthz should I use Blueprint, Flask configuration and/or Entension?


It's unclear and confusing to me whether Blueprint and Flask configration is required if I use the extension Healthz(app)!?! The confusion comes from the README line:

The rest of the configuration is identical.

I get the following error!

Readiness probe failed: Get "https://10.1.207.232:443/healthz/ready": dial tcp 10.1.207.232:443: connect: connection refused

Solution

  • This is a very trivial / insignificant library and it doesn't work with Quart. I ditched it and implement the heathcheck endpoints using blueprint