Helm install:

helm repo add portainer https://portainer.github.io/k8s/
helm repo update

Install with (replace <storage-class-name> with the name of your SC - in the K3PI case it's "nfs-client" ):

helm upgrade --install --create-namespace -n portainer portainer portainer/portainer --set service.type=LoadBalancer --set enterpriseEdition.enabled=true --set tls.force=true [--set persistence.storageClass=<storage-class-name>]

(Optional) Restart Portainer if it timed out before setting up initial account:

kubectl get deployments -n portainer
kubectl scale --replicas=0 deployment portainer -n portainer
kubectl get deployments -n portainer
kubectl scale --replicas=1 deployment portainer -n portainer

Set up admin access by going to the URL referenced in the Service:

kubectl get service -n portainer