You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/03/03 02:31:00 UTC

[GitHub] [druid] zhangyue19921010 edited a comment on pull request #10910: A new Druid MiddleManager Resource Scheduling Model Based On K8s(MOK)

zhangyue19921010 edited a comment on pull request #10910:
URL: https://github.com/apache/druid/pull/10910#issuecomment-789373880


   > > letting the overlord create k8s pods is a huge change including API, Task scheduling model and etc.
   > 
   > That's too bad, since one of the original goals of the TaskRunner interface is that it could be used to allow the Overlord to launch tasks directly as YARN applications. (At the time, YARN was more popular than K8S 🙂)
   > 
   > I guess it didn't live up to this goal, if you found it easier to have the MMs launch K8S pods.
   > 
   > Anyway, I'm not a K8S expert, but this seems like a very interesting idea.
   
   Hi @gianm Thanks for your attention. Maybe I didn’t make my point clear.
   In my opinion, I just follow the current workflow as overlord -> middlemanger -> peon
   The difference between ForkingTaskRunner and new K8sForkingTaskRunner(something `ThreadingTaskRunner` for `CliIndexer`) is that middlemanger launch peon as a peon pod in Kubernetes rather than a child process on the same machine.
   
   Because of the same workflow mentioned above, we don't need to consider potential api and other changes. So that I believe it's easier to have the MMs launch K8S pods.🙂
   
   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org