Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

deis installation: Error: unknown flag: --clusterrole #843

Open
Shashwatsh opened this issue Jul 28, 2017 · 3 comments
Open

deis installation: Error: unknown flag: --clusterrole #843

Shashwatsh opened this issue Jul 28, 2017 · 3 comments

Comments

@Shashwatsh
Copy link

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
@bacongobbler
Copy link
Member

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!

@gemoya
Copy link

gemoya commented Aug 5, 2017

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.

@Cryptophobia
Copy link

This issue was moved to teamhephy/workflow#8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants