- Start Portainer in development mode via
yarn start
- Go to minikube folder
cd ./minikube
- Update the
DEV_PATH
variable ofsetup.sh
script to your devdist
directory - 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 ip
orminikube ip
Open browser at <minikube_IP>:9000
- Using
setup.sh
script automatically creates a minikube instance with--driver=docker
andlatest
version of kubernetes - You can change the kubernetes version inside
setup.sh
./setup.sh create
gives you the IP of the created Minikube instance (likeminikube ip
)- You can deploy any application inside minikube instance with
setup.sh
script ; for example./setup.sh deploy applications/minio
or./setup.sh deploy applications/autoscaler/autoscaler-dep
minikube/applications
contains subfolders with manifests and scripts to automatically deploy specific contexts (autoscaler, ingresses with nginx or traefik)