- Start Portainer in development mode via
yarn start - Go to minikube folder
cd ./minikube - Update the
DEV_PATHvariable ofsetup.shscript to your devdistdirectory - Create/start minikube cluster:
./setup.sh create - (alternative):
minikube start --mount --mount-string /path/to/dev/dist/directory:/portainer/app - (alternative for specific Kubernetes version):
minikube start --driver=docker --mount --mount-string /path/to/dev/dist/directoy:/portainer/app --kubernetes-version=v1.18.3 - Deploy or force an update of an existing Portainer app:
./setup.sh redeploy portainer - (alternative):
kubectl replace --force -f portainer.yaml - Retrieve minikube IP:
./setup.sh iporminikube ip
Open browser at <minikube_IP>:9000
- Using
setup.shscript automatically creates a minikube instance with--driver=dockerandlatestversion of kubernetes - You can change the kubernetes version inside
setup.sh ./setup.sh creategives you the IP of the created Minikube instance (likeminikube ip)- You can deploy any application inside minikube instance with
setup.shscript ; for example./setup.sh deploy applications/minioor./setup.sh deploy applications/autoscaler/autoscaler-dep minikube/applicationscontains subfolders with manifests and scripts to automatically deploy specific contexts (autoscaler, ingresses with nginx or traefik)