workflow icon indicating copy to clipboard operation
workflow copied to clipboard

deis installation: Error: unknown flag: --clusterrole

Open Shashwatsh opened this issue 8 years ago • 3 comments

i'm trying to install deis workflow on kubernetes 1.5 but getting an error

  1. kubernetes version
 kubectl version
Client Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.3", GitCommit:"029c3a408176b55c30846f0faedf56aae5992e9b", GitTreeState:"clean", BuildDate:"2017-03-09T11:55:06Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.3", GitCommit:"029c3a408176b55c30846f0faedf56aae5992e9b", GitTreeState:"clean", BuildDate:"2017-03-09T11:55:06Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"linux/amd64"}
  1. Error
[root@fedora-1gb-blr1-01 ~]# kubectl create clusterrolebinding helm --clusterrole=cluster-admin --serviceaccount=kube-system:tiller-deploy
Error: unknown flag: --clusterrole

Shashwatsh avatar Jul 28 '17 17:07 Shashwatsh

We test Deis Workflow against kubernetes v1.6, so it's possible this feature flag was introduced at that time. There's no guarantee that the documentation is 100% compatible with an older kubernetes release. You'll likely have to scour the kubectl documentation for an equivalent workaround if you want to deploy workflow on k8s 1.5. Sorry about that!

bacongobbler avatar Jul 28 '17 17:07 bacongobbler

Maybe you dont' have RBAC authorization mode enabled because is a default since kubernetes 1.6.0. So you should try something like this to get the 'stateless deploy':

helm init --client-only
helm repo add deis https://charts.deis.com/workflow
helm install deis/workflow --namespace deis --set globals.use_rbac=false

The third line may change according to your requirements.

gemoya avatar Aug 05 '17 02:08 gemoya

This issue was moved to teamhephy/workflow#8

Cryptophobia avatar Mar 20 '18 19:03 Cryptophobia