Files
Phraseanet/doc/infra/minikube/minikube.md
Nicolas Maillat 2c20ddf73b PHRAS-3644 fix traefik and 4.1.6-rc2 changelog draft (#4000)
* 4.1.6-rc2 changelog

* 4.1.6-rc2 changelog

* PHRAS-3485 fix traefik under Phrasea

* fixe typo
2022-03-31 17:57:08 +02:00

1.0 KiB

Deploy stack to minikube

Setup

status : Alpha

minikube start
minikube addons enable ingress

Get the minikube IP:

minikube ip

Refer to sample.yaml to get all domains. Add these domains to your /etc/hosts:

# Alchemy Minikube
192.168.49.2 phraseanet-bo.alchemy.kube
# ... add other domains

For a quicker setup we will use the nginx configuration explained in dev-with-nginx

Build local image in minikube

If you need to test your fresh image directly into minikube cluster, you need to build them with the Mminikube Docker daemon:

eval $(minikube docker-env)
docker-compose build

Alternatively you can run a registry in minikube and push your images: https://minikube.sigs.k8s.io/docs/handbook/pushing/#4-pushing-to-an-in-cluster-using-registry-add

If your minikube server name is not "minikube" define it in MINIKUBE_NAME

infra/dev/deploy-minikube.sh install
infra/dev/deploy-minikube.sh update
infra/dev/deploy-minikube.sh uninstall