Open mandarjog opened 7 years ago
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
.
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.