File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,24 +61,14 @@ Deis Workflow supports three registration modes:
6161| disabled | Does not allow anyone to register new users. |
6262| admin\_ only | Only existing admins may register new users |
6363
64- To modify the registration mode for Workflow you must add or modify the ` REGISTRATION_MODE ` environment variable. If
65- Deis Workflow is already up and running, you may use ` kubectl --namespace=deis edit rc deis-controller ` :
64+ To modify the registration mode for Workflow you may add or modify the ` REGISTRATION_MODE ` environment variable for the
65+ controller component. If Deis Workflow is already running, use ` kubectl --namespace=deis edit deployment deis-controller ` :
6666
6767Find the ` REGISTRATION_MODE ` environment variable in the template file or add the appropriate section:
6868
6969![ ] ( ../images/controller-registration-mode.png )
7070
71- Once you save the Replication Controller configuration, you need to find and delete the controller Pod.
72-
73- ```
74- ~ $ kubectl --namespace=deis get po | egrep deis-controller
75- deis-controller-lto6v 1/1 Running 1 2h
76- ~ $ kubectl --namespace=deis delete po deis-controller-lto6v
77- pod "deis-controller-lto6v" deleted
78- ```
79-
80- Kubernetes will automatically start a new Pod with the new environment variables set. Note that you will incur downtime
81- for the Workflow API only. All running applications will continue to function.
71+ Kubernetes will automatically deploy a new ReplicaSet and corresponding Pod with the new environment variables set.
8272
8373## Managing Administrative Permissions
8474
You can’t perform that action at this time.
0 commit comments