error: clusterrole must be specified

2/27/2018

I am trying to get the Kubernetes Dashboard running, but I am running into trouble with no clusterrole being specified.

kubectl create clusterrolebinding add-on-cluster-admin --serviceaccount=kube-system:kubernetes-dashboard-minimal

error: clusterrole must be specified

-- bdparrish
kubernetes
kubernetes-dashboard

1 Answer

2/27/2018

yes, the --clusterrole flag is required

-- Jordan Liggitt
Source: StackOverflow