k8s
k8s copied to clipboard
No Access: Failure, Unable to verify administrator account existence
Issue
I just tried (several times) to deploy portainer via helm on my Kubernetes cluster. After starting it I don't have the possibility to create an administrator account. Database file is created in the PV. The log of the portainer pod is almost completely empty. I am attaching all kinds of information that could help finding the cause of the error to this issue.
Many thanks in advance
Note: The timestamps may confuse something that causes my MacBook to be configured with a different time zone than the server
Helm values file (portainer.yaml in my case)
service:
type: ClusterIP
ingress:
enabled: true
certManager: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt
kubernetes.io/ingress.class: nginx
hosts:
- host: ** domain removed **
paths:
- path: /
tls:
- hosts:
- ** domain removed **
secretName: portainer-tls
# Volume on Nfs Server
persistence:
size: "25Gi"
Result of Helm Installation:
Portainer WebApp
Portainer Pod Log
2020-10-06T21:10:20.687275304Z 2020/10/06 21:10:20 Starting Portainer 2.0.0 on :9000
2020-10-06T21:10:20.687363185Z 2020/10/06 21:10:20 server: Reverse tunnelling enabled
2020-10-06T21:10:20.687411390Z 2020/10/06 21:10:20 server: Fingerprint 9f:09:27:51:0c:02:f1:68:f8:5d:23:f7:43:bc:58:cd
2020-10-06T21:10:20.687419634Z 2020/10/06 21:10:20 server: Listening on 0.0.0.0:8000...
2020-10-06T21:10:20.688052006Z 2020/10/06 21:10:20 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]
PV Content
drwxrwxrwx 5 root root 4096 Oct 6 23:00 .
drwxrwxrwx 10 nobody nobody 4096 Oct 6 22:59 ..
drwx------ 2 root root 4096 Oct 6 23:00 bin
drwx------ 2 root root 4096 Oct 6 23:00 compose
-rw-r--r-- 1 root root 389 Oct 6 23:10 config.json
-rw------- 1 root root 65536 Oct 6 23:10 portainer.db
-rw------- 1 root root 227 Oct 6 23:00 portainer.key
-rw------- 1 root root 190 Oct 6 23:00 portainer.pub
drwx------ 2 root root 4096 Oct 6 23:00 tls