Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

[Fix] Update document, add the content about add new node. #1750

Merged
merged 2 commits into from
Nov 23, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/pai-management/doc/machine-maintenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,19 @@
- Add master node can't achieve the goal that expend a No-HA cluster into HA. If you wanna add a master node, please deploy your cluster in HA mode first.

### Steps:

- Add the node to kubernetes cluster
```bash

# Add new node from nodelist.yaml
./paictl.py machine add -p /path/to/configuration/directory -l /path/to/your/newnodelist.yaml
```
- Add the new node to cluster configuration. And configure it with the correct role.

- Label the new node with the the command following.
```bash
./paictl.py service start -p /path/to/cluster-config -n cluster-configuration
```


## Remove nodes (worker or master) from pai cluster <a name="remove_worker_node"></a>
Expand Down