The goal of this repo to work as a proof of concept for the proposed One Minute Deployment.
However, this is a revised iteration of the initial idea which I discuss here.
In this tutorial, you will deploy a simple NodeJS application to your cluster. The application outputs Hello World to your brower through Kubernetes port-forwarding. Afterwards, you will alter the deployment to showcase the simplicity and speed of our approach. Finally, we will clean your cluster.
In case you are familiar with the VS Code Dev Container extention, the predefined devcontainer configuration is most convenient.\
⚠⚠ Please makes sure that your kubeconfig is accessible in the container. Do so by moving it into ~/.kube/config or export it export KUBECONFIG=/path/file/in/container
.
Otherwise you need
make initial_deploy
to initially deploy the application. kubectl will create a oneminutedeployment
namespace and install the deployment into it.res.send('This Rocks!')
make deploy
make teardown
to clear it up