Local Kubernetes cluster example with a simple webapp.
docker
and minikube
. A standalone kubectl
installation is not needed. Please review minikube
resource requirements before installation.
You don't need to build the backend
and frontend
application images to spin up the cluster, as they are publicly available on Docker Hub. To start the cluster, first spin minikube
:
minikube start
For ease of usage, define an alias to use the internal kubectl
that minikube
provides:
alias kubectl="minikube kubectl --" # on .bashrc or similar
Now you can directly deploy all manifest files:
kubectl apply -f infra/
Retrieve the workload status with:
kubectl get pod,rs,deploy,svc,configmaps
Once the deploy finishes, you can access the frontend application by opening a tunnel:
minikube service post-app-service --url
Check docs/tutorial.md
for a step-by-step implementation.
All rights reserved Adobe Systems Incorporated for Source Code Pro font. The original font license can be read here. The font was downloaded from https://fonts.google.com/specimen/Source+Code+Pro.