Skip to content

Latest commit

 

History

History
60 lines (38 loc) · 1.06 KB

README.md

File metadata and controls

60 lines (38 loc) · 1.06 KB

k8s-guestbook

An example guestbook running on Kubernetes, in two separate namespaces, staging and production, managed through kustomization layers.

Prequisites

Setup

Namespaces

kubectl apply -k ./k8s-config/namespaces

Staging

kubectl apply -k ./k8s-config/staging

Production

kubectl apply -k ./k8s-config/production

Accessing the services

Staging

minikube service frontend --namespace=staging --url

Production

minikube service frontend --namespace=production --url

Cleanup

Staging

kubectl delete -k ./k8s-config/staging

Production

kubectl delete -k ./k8s-config/production

Resources