An example guestbook running on Kubernetes, in two separate namespaces, staging
and production
, managed through kustomization layers.
- Setup Minikube.
kubectl apply -k ./k8s-config/namespaces
kubectl apply -k ./k8s-config/staging
kubectl apply -k ./k8s-config/production
minikube service frontend --namespace=staging --url
minikube service frontend --namespace=production --url
kubectl delete -k ./k8s-config/staging
kubectl delete -k ./k8s-config/production