Simple example showcasing an option for a local development setup for python apps in kubernetes.
You need these tools to set this up and try it for yourself:
- docker: this is where the local cluster will be hosted
- kind: installs a kind cluster in you docker
- kubectl: the means of interacting with the kubernetes cluster
- helm: package manager for kubernetes
- tilt: smart rebuilds and live updates making your live easier. Tilt define your dev environment as code. Very usable for microservice apps on Kubernetes, and better than Skaffold ).
Create a local kind cluster with docker registry & nginx ingress setuped using:
make up
tilt up
$ curl localhost
{"Hello":"World"}
tilt down
make clean