You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your cluster uses [RBAC](https://kubernetes.io/docs/admin/authorization/rbac/) for authorization, `helm` will need to be granted the necessary permissions to create Workflow resources.
**Note**: Specific `helm` permissions haven't been sorted yet and details may change (watch `helm`[docs](https://github.com/kubernetes/helm/tree/master/docs))
43
+
22
44
## Choose Your Deployment Strategy
23
45
24
46
Deis Workflow includes everything it needs to run out of the box. However, these defaults are aimed at simplicity rather than
If you are using [CNI](https://github.com/containernetworking/cni) for managing container network, you cannot use `hostPort` notation due to [this issue](https://github.com/kubernetes/kubernetes/issues/23920).
66
67
In this case you could enable CNI for `deis-registry-proxy` by setting `use_cni` variable to `true` inside `values.yaml` or by adding `--set global.use_cni=true` to `helm`'s args.
67
68
69
+
## Running Workflow with RBAC
70
+
71
+
If your cluster has [RBAC](https://kubernetes.io/docs/admin/authorization/rbac/) amongst your [authorization](https://kubernetes.io/docs/admin/authorization/) modes (`$ kubectl api-versions` should contains `rbac.authorization.k8s.io`) it may be necessary to enable RBAC in Workflow.
72
+
This can be achieved by setting `use_rbac` in the `global` section of `values.yaml` to `true`, or by adding `--set=global.use_rbac=true` to the `$ helm install/upgrade` command.
73
+
RBAC support was announced in Kubernetes-1.5 and is enabled by default if:
74
+
- your Kubernetes cluster is in GKE
75
+
- your Kubernetes cluster built with [kubeadm](https://kubernetes.io/docs/getting-started-guides/kubeadm/)
76
+
77
+
**Note**: helm may need to be given [specific permissions][helm specific permissions] under RBAC if not already done.
78
+
79
+
**Attention**: Azure ACS Kubernetes clusters are not RBAC-enabled for today due to lack in authentication strategy. Feel free to watch this [PR](https://github.com/kubernetes/kubernetes/pull/43987) for more details.
0 commit comments