AdheipSingh commented on issue #8801:
URL: https://github.com/apache/druid/issues/8801#issuecomment-726072520


   using cloneset directly will not work either, their needs to be custom code 
written, either run it as a job or hook it into operator code. You will need to 
use cloneset client and keep the operator + druid + MM in sync since with 
introducing cloneset, its the responsibility of cloneset for reconciling MM, 
not the operator.
   Here's a simple code 
https://gist.github.com/AdheipSingh/db009db6122dabd763fa70e0b1d9385b which i 
was using to experiment between these, i was running this as a job every 5 sec, 
this would get the pendingTasks from druid and add +1 MM for every pending 
task...... for scale down it would hit every mm endpoint to check if its 
running task if not it would delete the svc + cloneset.
   
   Ideally this problem should be definitely solved from druid end, but at the 
same time its possible to get it working from k8s side.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to