docker compose up --build postgres
docker compose up --build
docker system prune -a
make sure you have minikube, docker and skaffold installed make sure you are in a docker group
minikube start --driver=docker --cpus 16 --memory 8192 --addons ingress
To deploy application to minikube do
kubectl config use-context minikube
skaffold run
you can now connect with your browser to ingress, ask minikube for ip
minikube ip
Inject routes to /etc/hosts for dns resolution
./minikube-inject-hosts.sh
To remove application from minikube do
kubectl config use-context minikube
skaffold delete
To deploy application to production do
kubectl config use-context visoft-prod
skaffold -d registry.internal.visoft.solutions run
To remove application from production do
kubectl config use-context visoft-prod
skaffold -d registry.internal.visoft.solutions delete