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 2019/03/19 16:19:21 UTC

[GitHub] [incubator-openwhisk-deploy-kube] ZhuozhaoLi edited a comment on issue #443: A tutorial for deploying openwhisk on kube without using helm

ZhuozhaoLi edited a comment on issue #443: A tutorial for deploying openwhisk on kube without using helm
URL: https://github.com/apache/incubator-openwhisk-deploy-kube/issues/443#issuecomment-474452690
 
 
   Thanks for the response. I tried but it showed:
   ```
   unable to decode "tmp.yaml": no kind "RoleBinding" is registered for version "rbac.authorization.k8s.io/v1"
   unable to decode "tmp.yaml": no kind "DaemonSet" is registered for version "apps/v1"
   unable to decode "tmp.yaml": no kind "Deployment" is registered for version "apps/v1"
   unable to decode "tmp.yaml": no kind "Deployment" is registered for version "apps/v1"
   unable to decode "tmp.yaml": no kind "Deployment" is registered for version "apps/v1"
   unable to decode "tmp.yaml": no kind "Deployment" is registered for version "apps/v1"
   unable to decode "tmp.yaml": no kind "Deployment" is registered for version "apps/v1"
   unable to decode "tmp.yaml": no kind "Deployment" is registered for version "apps/v1"
   unable to decode "tmp.yaml": no kind "Deployment" is registered for version "apps/v1"
   unable to decode "tmp.yaml": no kind "StatefulSet" is registered for version "apps/v1"
   unable to decode "tmp.yaml": no kind "StatefulSet" is registered for version "apps/v1"
   unable to decode "tmp.yaml": no kind "StatefulSet" is registered for version "apps/v1"
   ```
   
   I guess the problem is that I do not have cluster-admin role on the kubernetes cluster, which disallows me to run `kubectl create clusterrolebinding tiller-cluster-admin --clusterrole=cluster-admin --serviceaccount=kube-system:default`. 
   
   So I want to confirm: can we run openwhisk on a kubernetes cluster without cluster-admin role?
   
   > I think it could work to use `helm template` to render the yaml and then `kubectl apply` on the yaml.
   > 
   > Instead of
   > `helm install ./helm/openwhisk --namespace=openwhisk --name=owdev -f mycluster.yaml`
   > do
   > 
   > ```
   > helm template ./helm/openwhisk --namespace=openwhisk --name=owdev -f mycluster.yaml > tmp.yaml
   > kubectl apply -f tmp.yaml
   > ```
   
   

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


With regards,
Apache Git Services