-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default readiness on historicals breaks operator. #97
Comments
This also caused a painful outage, as the operator seemed to be forcing a default startupProbe onto the coordinator/overlord. And the tasks that are spawned through I ended up having to disable the operator entirely to get things back in order. |
Hello @mindreader Can you give us more details on your configuration and the druid version your are using ? I cannot reproduce the 401 on druid version 0.23.0 to 25.0.0 as both path have the same goals I will change this probe. |
I have a druid basic escalator which means intra-communication in my cluster requires credentials. I'm on druid version 25. In any case, you don't have to believe me, the relevant code in druid is here: https://github.com/apache/druid/blob/master/server/src/main/java/org/apache/druid/server/http/HistoricalResource.java That The second issue is more serious, by putting Probes in that I did not have in my spec, pods just get killed, especially in the case of the task pods, I could not stop them from inheriting a bad configuration, as the overlord definitely needs a readiness probe, and the tasks definitely need a very different one. |
In pr #72 , defaults probes are set for various components.
This breaks the operator because while
/druid/historical/v1/readiness
is just fine to call/druid/historical/v1/loadstatus
is a privileged call that requires authentication. Since it places this readinessProbe by default if you don't have one, the only way to disable it is to hard wire one yourself to another call.The text was updated successfully, but these errors were encountered: