You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2021/03/29 12:58:38 UTC

[GitHub] [openwhisk-deploy-kube] simonkleinfeld opened a new issue #683: Deployment fails on kubernetes using docker for windows

simonkleinfeld opened a new issue #683:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/683


   Hi,
   i'm trying to install openwhisk on my local single node cluster using Docker for Windows.
   I followed the install instructions on https://github.com/apache/openwhisk-deploy-kube/blob/master/docs/k8s-docker-for-windows.md
   but if i run 
   `helm install owdev ./helm/openwhisk -n openwhisk --create-namespace -f mycluster.yaml`
   i get the following error:
   `Error: pods "owdev-wskadmin" is forbidden: error looking up service account openwhisk/default: serviceaccount "default" not found`
   I also did a reset of my kubernetes cluster and tried it again, with the same result.
   
   The mycluster.yaml looks so:
   ```
   whisk:
           ingress:
                   type: NodePort
                   apiHostName: 192.168.65.4 
                   apiHostPort: 31001
   nginx:
           httpsNodePort: 31001
   ```
   
   I'm using the following versions:
   docker for windows: 3.2.2
   kubernetes: 1.19.7
   helm: 3.5.2
   
   
   Thank you


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-deploy-kube] simonkleinfeld edited a comment on issue #683: Deployment fails on kubernetes using docker for windows

Posted by GitBox <gi...@apache.org>.
simonkleinfeld edited a comment on issue #683:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/683#issuecomment-809395722


   For `kubectl get sa -n default`: `No resources found in default namespace.` and
   `kubectl get sa -n openwhisk`: 
   `NAME            SECRETS   AGE
   owdev-core      0         77m
   owdev-init-sa   0         77m
   owdev-invoker   0         77m`


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-deploy-kube] simonkleinfeld commented on issue #683: Deployment fails on kubernetes using docker for windows

Posted by GitBox <gi...@apache.org>.
simonkleinfeld commented on issue #683:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/683#issuecomment-809395722


   For `kubectl get sa -n default`: `No resources found in default namespace.` and
   `kubectl get sa -n openwhisk`: 
   `NAME            SECRETS   AGE
   owdev-core      0         77m\
   owdev-init-sa   0         77m\
   owdev-invoker   0         77m`


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-deploy-kube] simonkleinfeld closed issue #683: Deployment fails on kubernetes using docker for windows

Posted by GitBox <gi...@apache.org>.
simonkleinfeld closed issue #683:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/683


   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-deploy-kube] dgrove-oss commented on issue #683: Deployment fails on kubernetes using docker for windows

Posted by GitBox <gi...@apache.org>.
dgrove-oss commented on issue #683:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/683#issuecomment-809420143


   It looks like the default service account is missing.   You can probably hack around it by just creating one, but it seems really strange that it is missing.  It smells like a bug with Docker Desktop on Windows. 


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-deploy-kube] dgrove-oss commented on issue #683: Deployment fails on kubernetes using docker for windows

Posted by GitBox <gi...@apache.org>.
dgrove-oss commented on issue #683:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/683#issuecomment-809390258


   The `default` service account should be created automatically by Kubernetes in every namespace it creates.  Try doing a `kubectl get sa -n default` and `kubectl get sa -n openwhisk` and see what service accounts (sa) are available. 


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-deploy-kube] simonkleinfeld commented on issue #683: Deployment fails on kubernetes using docker for windows

Posted by GitBox <gi...@apache.org>.
simonkleinfeld commented on issue #683:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/683#issuecomment-809595864


   I did a reset from my docker installation and then everything works fine.
   Thanks for your help, I am new to kubernetes etc and didn't know that this user should be created automatically.


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-deploy-kube] simonkleinfeld edited a comment on issue #683: Deployment fails on kubernetes using docker for windows

Posted by GitBox <gi...@apache.org>.
simonkleinfeld edited a comment on issue #683:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/683#issuecomment-809395722


   For `kubectl get sa -n default`: `No resources found in default namespace.` and
   `kubectl get sa -n openwhisk`: 
   `NAME            SECRETS   AGE
   owdev-core      0         77m
   owdev-init-sa   0         77m
   owdev-invoker   0         77m`
   
   The default service account was not created isn't?


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org