Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.81 KB

README.md

File metadata and controls

46 lines (34 loc) · 1.81 KB

k8s-cluster-example

Local Kubernetes cluster example with a simple webapp.

Application cluster architecture

What you need?

docker and minikube. A standalone kubectl installation is not needed. Please review minikube resource requirements before installation.

Deploying the cluster locally

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.

Notice

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.

Resources