hunhoffe opened a new pull request, #729: URL: https://github.com/apache/openwhisk-deploy-kube/pull/729
I have been working on adapting the openwhisk-deploy-kube repo to support deploying the new scheduler. I am creating this PR even though it is just a minimal working example to get some feedback (hopefully) on my approach, and also to make the solution public since I believe there was some community interest in this capability. It is not ready to be merged. What this PR contains: - Deploy etcd and the scheduler components - Allow option to enable or disable the scheduler (similar to ansible) - Only works with single controller and single scheduler - Tested with and without scheduler enabled on 3-node Kubernetes cluster with CouchDB activation store Remaining TODOs: - [ ] Use Kubernetes Akka cluster bootstrap to support multiple schedulers and/or controllers (this will involve changes in this repo and also the code in the main OpenWhisk repo. My plan is to model the solution similar to how the Akka cluster was bootstrapped in the ShardingContainerPoolBalancer) - [ ] More rigorous testing (multiple invokers, ElasticSearch as activation store, etc.) - [ ] Create openwhisk/scheduler image on dockerhub (currently using my own docker image) - [ ] etcd will currently always start fresh; I think it would be appropriate to enable persistence? - [ ] Double check components are starting up the right order (right now I don't have a waitForEtcd container, and I'm not 100% sure I'm starting waitForScheduler in the most proper place) -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
