Detailed description can be found here: Blue-green deployment with a database on Kubernetes
For Windows, all minikube and kubectl commands should be run in an Administrator CMD shell.
minikube start
Start the minikube dashboard
minikube dashboard
Consider doing this in another shell as it
Installation instructions for Istio are here.
istioctl install
kubectl create -f postgresql-deployment.yaml
See the Dockerfile for more details
docker build -t liquibase/bg-k8s-liquibase .
docker push liquibase/bg-k8s-liquibase
You will want to change this to match your Docker Hub username.
The config map is the Liquibase changelog.
kubectl create -f liquibase-cm-v1.yaml
The Job runs liquibase with the config map.
kubectl create -f liquibase-job-v1.yaml
Repeat for Version 2
kubectl create -f liquibase-cm-v2.yaml
kubectl create -f liquibase-job-v2.yaml