DanielLee343 commented on issue #683:
URL: 
https://github.com/apache/openwhisk-deploy-kube/issues/683#issuecomment-1150033579

   Hi, I have a following question, my default service account seems to be 
there, but Im still stuck at `Error: pods "owdev-wskadmin" is forbidden: error 
looking up service account openwhisk/default: serviceaccount "default" not 
found`.
   ```
   [lyuze@storage-2 openwhisk-deploy-kube]$ docker ps
   CONTAINER ID   IMAGE                  COMMAND                  CREATED       
 STATUS        PORTS                       NAMES
   c3dba0af7943   kindest/node:v1.20.7   "/usr/local/bin/entr…"   19 hours ago  
 Up 11 hours                               kind-worker2
   2d142d00b1be   kindest/node:v1.20.7   "/usr/local/bin/entr…"   19 hours ago  
 Up 11 hours   0.0.0.0:31001->31001/tcp    kind-worker
   61ca9e93bbf6   kindest/node:v1.20.7   "/usr/local/bin/entr…"   19 hours ago  
 Up 11 hours   127.0.0.1:35501->6443/tcp   kind-control-plane
   [lyuze@storage-2 openwhisk-deploy-kube]$ helm install owdev ./helm/openwhisk 
-n openwhisk --create-namespace -f mycluster.yaml
   Error: INSTALLATION FAILED: failed to create resource: pods "owdev-wskadmin" 
is forbidden: error looking up service account openwhisk/default: 
serviceaccount "default" not found
   [lyuze@storage-2 openwhisk-deploy-kube]$ 
   [lyuze@storage-2 openwhisk-deploy-kube]$ kubectl get sa -n default
   NAME      SECRETS   AGE
   default   1         18h
   [lyuze@storage-2 openwhisk-deploy-kube]$ kubectl get sa -n openwhisk
   NAME            SECRETS   AGE
   owdev-core      0         84s
   owdev-init-sa   0         84s
   owdev-invoker   0         84s
   ```
   My mycluster.yaml:
   ```
   whisk:
     ingress:
       type: NodePort
       apiHostName: localhost
       apiHostPort: 31001
       apiHostProto: "https"
       useInternally: false
   
   nginx:
     httpsNodePort: 31001
   
   # disable affinity
   affinity:
     enabled: false
   toleration:
     enabled: false
   invoker:
     options: "-Dwhisk.kubernetes.user-pod-node-affinity.enabled=false"
     # must use KCF as kind uses containerd as its container runtime
     containerFactory:
       impl: "kubernetes"
   
   ```
   Any idea why? Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to