An example of using the lambda-kube library.
This project implements Kubernetes's Guestbook Example.
kubectlneeds to be installed and configured to a cluster you have reasonable permissions on.
- Leiningen (I used 2.7.1, I guess any 2.X should work).
From the project directory:
$ lein auto run
This will start a continous process, inspecting the source code,
kubectl apply on the result every time the source code changes.
Feel free to change the configuration in core.clj and see how it affects the cluster.
To view the application running, run
kubectl proxy, and follow
this link in a browser.
Copyright © 2018 Boaz Rosenan
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.