From 52241183dee57a1870e309bde8dda26be4fbf9ac Mon Sep 17 00:00:00 2001 From: xwzheng Date: Thu, 10 Jan 2019 11:42:00 +0800 Subject: [PATCH 1/4] update virtual cluster doc --- docs/webportal/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/webportal/README.md b/docs/webportal/README.md index 5468d6b3d9..a64d9d9c29 100644 --- a/docs/webportal/README.md +++ b/docs/webportal/README.md @@ -115,6 +115,15 @@ Click the tab "Cluster View" to see the status of the whole cluster. Specificall * Hardware: Hardware metrics of each machine. * K8s Dashboard: The Kubernetes Dashboard. +### Virtual cluster management + +Virtual cluster is a kind of [YARN Capacity Scheduler Queue](https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/CapacityScheduler.html). Click the tab "Virtual Cluster" to see virtual cluster's status and change virtual clusters for user and admin respectively. Specifically: + +* Add a new virtual cluster +* Remove an obsolete virtual cluster +* Increase or decrease virtual cluster's capacity +* Change virtual cluster's availability + ### Read documents Click the tab "Documents" to read the tutorial of submitting a job. From 298c310708c37a04922ba614e4409ce2df34e52b Mon Sep 17 00:00:00 2001 From: xwzheng Date: Fri, 11 Jan 2019 13:53:09 +0800 Subject: [PATCH 2/4] change vc's definition --- docs/webportal/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/webportal/README.md b/docs/webportal/README.md index a64d9d9c29..6617d516e1 100644 --- a/docs/webportal/README.md +++ b/docs/webportal/README.md @@ -117,7 +117,7 @@ Click the tab "Cluster View" to see the status of the whole cluster. Specificall ### Virtual cluster management -Virtual cluster is a kind of [YARN Capacity Scheduler Queue](https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/CapacityScheduler.html). Click the tab "Virtual Cluster" to see virtual cluster's status and change virtual clusters for user and admin respectively. Specifically: +OpenPAI Virtual Cluster is designed to run jobs as a shared, multi-tenant cluster in an operator-friendly manner while maximizing the throughput and the utilization of the cluster. Click the tab "Virtual Cluster" to see virtual cluster's status and change virtual clusters for user and admin respectively. Specifically: * Add a new virtual cluster * Remove an obsolete virtual cluster From 813ce99cbf6b730268a28a1077f25e08c991631d Mon Sep 17 00:00:00 2001 From: xwzheng Date: Tue, 15 Jan 2019 10:54:29 +0800 Subject: [PATCH 3/4] add description of vc capacity and availability --- docs/webportal/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/webportal/README.md b/docs/webportal/README.md index 6617d516e1..7a22225cbc 100644 --- a/docs/webportal/README.md +++ b/docs/webportal/README.md @@ -117,12 +117,12 @@ Click the tab "Cluster View" to see the status of the whole cluster. Specificall ### Virtual cluster management -OpenPAI Virtual Cluster is designed to run jobs as a shared, multi-tenant cluster in an operator-friendly manner while maximizing the throughput and the utilization of the cluster. Click the tab "Virtual Cluster" to see virtual cluster's status and change virtual clusters for user and admin respectively. Specifically: +OpenPAI Virtual Cluster is designed to run jobs as a shared, multi-tenant cluster in an operator-friendly manner while maximizing the throughput and the utilization of the cluster. Click the tab "Virtual Cluster" to see virtual cluster's status and change virtual clusters for user and admin respectively. Specifically (for administrators only): -* Add a new virtual cluster -* Remove an obsolete virtual cluster -* Increase or decrease virtual cluster's capacity -* Change virtual cluster's availability +* Add a new virtual cluster. +* Remove an obsolete virtual cluster. +* Increase or decrease virtual cluster's capacity. Virtual cluster *capacity* in percentage (%) as a float (e.g. 12.5). Jobs in the virtual cluster may consume more resources than the its capacity if there are free resources, providing elasticity. +* Change virtual cluster's availability. If a virtual cluster is in `STOPPED` state, new jobs cannot be submitted to *itself*. Existing jobs continue to completion, thus the virtual cluster can be *removed* gracefully. The stopped virtual cluster can also be started and change to `RUNNING` state. ### Read documents From 9b1e65e14bab8d6cdc623ae2e5d491c5d6535362 Mon Sep 17 00:00:00 2001 From: xwzheng Date: Tue, 15 Jan 2019 14:00:11 +0800 Subject: [PATCH 4/4] fix typo --- docs/webportal/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/webportal/README.md b/docs/webportal/README.md index 7a22225cbc..f7f0e4ac9d 100644 --- a/docs/webportal/README.md +++ b/docs/webportal/README.md @@ -121,7 +121,7 @@ OpenPAI Virtual Cluster is designed to run jobs as a shared, multi-tenant cluste * Add a new virtual cluster. * Remove an obsolete virtual cluster. -* Increase or decrease virtual cluster's capacity. Virtual cluster *capacity* in percentage (%) as a float (e.g. 12.5). Jobs in the virtual cluster may consume more resources than the its capacity if there are free resources, providing elasticity. +* Increase or decrease virtual cluster's capacity. Virtual cluster *capacity* in percentage (%) as a float (e.g. 12.5). Jobs in the virtual cluster may consume more resources than its capacity if there are free resources, providing elasticity. * Change virtual cluster's availability. If a virtual cluster is in `STOPPED` state, new jobs cannot be submitted to *itself*. Existing jobs continue to completion, thus the virtual cluster can be *removed* gracefully. The stopped virtual cluster can also be started and change to `RUNNING` state. ### Read documents