Via Helm
- Create a namespace for portainer
kubectl create namespace portainer
- Add the portainer helm repository
helm repo add portainer https://portainer.github.io/k8s
- Install the portainer helm chart
helm update
helm install -n portainer portainer portainer/portainer
To install the business edition, use the following command
helm install --create-namespace -n portainer portainer portainer/portainer \
--set enterpriseEdition.enabled=true \
--set tls.force=true
- To access the portainer dashboard, run the following command
kubectl -n portainer port-forward svc/portainer 9000:9000
Dashboard will be available at http://localhost:9000. Preview
- For business edition, follow this guide.