From fa4f182655992d1be52208523e0d467f63717c9a Mon Sep 17 00:00:00 2001 From: "yuye@microsoft.com" Date: Fri, 23 Nov 2018 11:31:25 +0800 Subject: [PATCH 1/2] Issue Fix. --- docs/pai-management/doc/machine-maintenance.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/pai-management/doc/machine-maintenance.md b/docs/pai-management/doc/machine-maintenance.md index 59e51c5b83..02f687c36f 100644 --- a/docs/pai-management/doc/machine-maintenance.md +++ b/docs/pai-management/doc/machine-maintenance.md @@ -12,12 +12,25 @@ - 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 +``` +### Refresh service + +```python + +``` ## Remove nodes (worker or master) from pai cluster From c50c96ce0b14313fc71c800c91f5adf05f0caa98 Mon Sep 17 00:00:00 2001 From: "yuye@microsoft.com" Date: Fri, 23 Nov 2018 11:31:44 +0800 Subject: [PATCH 2/2] Issue Fix. --- docs/pai-management/doc/machine-maintenance.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docs/pai-management/doc/machine-maintenance.md b/docs/pai-management/doc/machine-maintenance.md index 02f687c36f..02984a306b 100644 --- a/docs/pai-management/doc/machine-maintenance.md +++ b/docs/pai-management/doc/machine-maintenance.md @@ -26,12 +26,6 @@ ./paictl.py service start -p /path/to/cluster-config -n cluster-configuration ``` -### Refresh service - -```python - -``` - ## Remove nodes (worker or master) from pai cluster