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
Copy file name to clipboardExpand all lines: aws/README.md
+28-27Lines changed: 28 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -152,53 +152,53 @@ EOF
152
152
153
153
## Upgrading DC/OS
154
154
155
-
You can upgrade your DC/OS cluster with a single command. This Terraform script was built to perform installs and upgrades from the inception of this project.
155
+
You can upgrade your DC/OS cluster with a single command. This terraform script was built to perform installs and upgrades from the inception of this project. With the upgrade procedures below, you can also have finer control on how masters or agents upgrade at a given time. This will give you the ability to change the parallelism of master or agent upgrades.
156
156
157
-
With the upgrade procedures below, you can also have finer control on how masters or agents upgrade at a given time. This will give you the ability to change the parallelism of master or agent upgrades.
157
+
### DC/OS Upgrades
158
158
159
-
### Rolling Upgrade
159
+
#### Rolling Upgrade
160
+
###### Supported upgraded by dcos.io
160
161
161
-
#### Masters Sequentially, Agents Parellel
162
+
##### Prerequisite:
163
+
Update your terraform scripts to gain access to the latest DC/OS version with this command below:
If you would like to add more or remove agents from your cluster, you can do so by telling Terraform your desired state and it will make sure it gets you there.
181
-
182
-
For example, if I have 2 private agents and 1 public agent in my `-var-file` I can override that flag by specifying the `-var` flag. It has higher priority than the `-var-file`.
184
+
If you would like to add more or remove (private) agents or public agents from your cluster, you can do so by telling terraform your desired state and it will make sure it gets you there.
183
185
184
186
### Adding Agents
185
187
186
188
```bash
187
-
terraform apply \
188
-
-var-file desired_cluster_profile \
189
-
--var num_of_private_agents=5 \
190
-
--var num_of_public_agents=3
189
+
# update num_of_private_agents = "5" in desired_cluster_profile.tfvars
As of Mesos 1.0, which now supports GPU agents, you can experiment with them immediately by simply removing `.disabled` from `dcos-gpu-agents.tf.disabled`. Once you do that, you can simply perform `terraform apply` and the agents will be deployed and configure and automatically join your mesos cluster. The default of `num_of_gpu_agents` is `1`. You can also remove GPU agents by simply adding `.disabled` and it will exit as well.
0 commit comments