old_mixer_repo
old_mixer_repo copied to clipboard
Liveliness and Readiness probes for Mixer
Mixer starts and asynchronously loads configuration.
There is a time during which Mixer may return configuration is not available error.
Mixer should never receive traffic from proxies while it is in this state.
This is somewhat different I think. Liveness means mixer is unhealthy and should be removed from LB pool (cannot be done in alpha since it's a singleton). Readiness means mixer is overwhelmed and should be removed from LB pool - also not applicable. Can you just declare a dependency on the configmap resource you need instead?
This is not for alpha.
Declaring dependency on config map is not enough, also we don't use them :-)
But generally the dependency is on the config store which can declare. It is however not a sufficient condition for Mixer to start serving requests.
Mixer should fail readiness checks when it is clearly not ready. That is the intended use of readiness.
- It can happen at startup when config has not been loaded yet
- If Mixer loses connection to back end services or config store.