Hey Dan, We are working on a fork of the OpenWhisk project and are extending the Ansible orchestration so that it can issue Kubernetes commands. We have created a Dockerfile which pulls in the OpenWhisk code and installs all of the required dependencies to run the Ansible play books. With this image we should then be able to create a Kube job that sets up OpenWhisk from within a Kubernets environment. This gives us the ability to leverage things like Kube-DNS when Ansible goes and performs any kind of restful configuration (i.e. seeding consul) and a fairly consistent way of working with a Kubernetes cluster.
Currently, we are using the built Docker image as a pod and deploying that pod into Kubernets. From there we exec into that pod and are running the Ansible playbooks by hand. Then extending any of the command to use Kube commands whenever we need to. Ideally if this approach goes well and the solution make sense, then we would like to contribute this back into the main OpenWhisk branch. Lastly, we are doing a bit more work on ironing out our proposal and the goals we would like to hit so that they are a clear and measurable piece of work. Once that is clear, then we will post it to the wiki you created. Dan Lavine From: Daniel Krook/White Plains/IBM@IBMUS To: dev@openwhisk.apache.org Date: 03/16/2017 04:08 AM Subject: Re: Proposal for OpenWhisk + Kubernetes integration Hi Dan, As you can see from that issue Rodric referenced, I've also being looking into K8s and often hear others express interest as well [1]. It will be great to have people working together on this. Here is a wiki page I started where we can capture the proposal: https://cwiki.apache.org/confluence/display/OPENWHISK/OpenWhisk+on +Kubernetes I also created a Slack channel if you want to chat and invite others, we'll definitely want to loop in the folks from Hyper.sh and StackPoint. https://openwhisk-team.slack.com/messages/kubernetes/ I'd like to hear more about what you've built already. [1] https://github.com/openwhisk/openwhisk/issues/1402 Daniel Krook http://krook.info/ > From: Daniel Lavine > > Hi everyone, > > My name is Dan Lavine and I'm a long time contributor to the Cloud Foundry > Open source project and have an interest in other distributed cloud-native > platforms like OpenWhisk and Kubernetes. > > Given the growing interest in serverless architectures and container > orchestration technologies, I think integrating OpenWhisk with Kube could > be a cool project and worthwhile effort. My colleague, Kalonji Bankole and > I have have been working together to get some stuff up and running, but > there is a ways to go. > > If others are interested, we would like to share what we currently have. > Documenting what our current approach is and get feedback for what we are > working on would be a huge help. > > Does anyone have interest in this work? > > I look forward to hearing back from you! > > Dan Lavine