You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ch...@apache.org on 2018/06/01 01:32:37 UTC

[11/12] mesos git commit: Moved the "Resource Provider" section to `resource-provider.md`.

Moved the "Resource Provider" section to `resource-provider.md`.

The concept of resource providers should have a documentation file
separated from `csi.md`. This patch moves the "Resource Provider"
section from `csi.md` to `resource-provider.md` as a start, and also for
preventing dangling links from other documents.

Review: https://reviews.apache.org/r/67305


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8b93f2d0
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/8b93f2d0
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/8b93f2d0

Branch: refs/heads/master
Commit: 8b93f2d0eee30e87cf33319553150995a6c87230
Parents: db075fc
Author: Chun-Hung Hsiao <ch...@mesosphere.io>
Authored: Thu May 24 18:21:45 2018 -0700
Committer: Chun-Hung Hsiao <ch...@mesosphere.io>
Committed: Thu May 31 18:29:56 2018 -0700

----------------------------------------------------------------------
 docs/csi.md               | 32 +++++---------------------------
 docs/resource-provider.md | 27 +++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 27 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/8b93f2d0/docs/csi.md
----------------------------------------------------------------------
diff --git a/docs/csi.md b/docs/csi.md
index 9d06da0..7c38fc1 100644
--- a/docs/csi.md
+++ b/docs/csi.md
@@ -61,35 +61,13 @@ The following figure provides an overview about how Mesos supports CSI.
 
 ![CSI Architecture](images/csi-architecture.png)
 
-### Resource Providers
-
-[Resource Provider](resource-provider.md) is a new abstraction introduced in
-Mesos 1.5. Leveraging this, the resource-providing part of Mesos can be easily
-extended and customized. Before 1.5, this part of the logic is hard-coded in the
-agent. Resource providers are mainly responsible for updating Mesos about
-available resources and handling operations on those resources.
-
-There are two types of resource providers: Local Resource Providers (LRP) and
-External Resource Providers (ERP). Local resource providers only provide
-resources that are tied to a particular agent node, while external resource
-providers provide resources that are not tied to any agent node (a.k.a. global
-resources). The resource provider API is designed in such a way that it works
-for both types of resource providers. In Mesos 1.5, only local resource
-providers are supported.
-
-The resource provider API is an HTTP-based API, allowing resource providers to
-be running outside the Mesos master or agent. This is important for ERPs.
-
-There is a component in the agent, called the Resource Provider Manager, that
-monitors and manages LRPs on that agent. The same component will be running in
-the master in the future to monitor ERPs.
-
 ### First Class Storage Resource Provider
 
-The resource provider abstraction is a natural fit for supporting storage and
-CSI.  Since CSI standardizes the interface between container orchestrators and
-storage vendors, the implementation for the storage resource provider should be
-the same for all storage systems that are CSI-compatible.
+The [resource provider](resource-provider.md) abstraction is a natural fit for
+supporting storage and CSI. Since CSI standardizes the interface between
+container orchestrators and storage vendors, the implementation for the storage
+resource provider should be the same for all storage systems that are
+CSI-compatible.
 
 As a result, Mesos provides a default implementation of LRP, called Storage
 Local Resource Provider (SLRP), to provide general support for storage and CSI.

http://git-wip-us.apache.org/repos/asf/mesos/blob/8b93f2d0/docs/resource-provider.md
----------------------------------------------------------------------
diff --git a/docs/resource-provider.md b/docs/resource-provider.md
new file mode 100644
index 0000000..90b2515
--- /dev/null
+++ b/docs/resource-provider.md
@@ -0,0 +1,27 @@
+---
+title: Apache Mesos - Resource Provider
+layout: documentation
+---
+
+# Resource Provider
+
+Resource provider is a new abstraction introduced in Mesos 1.5. Leveraging this,
+the resource-providing part of Mesos can be easily extended and customized.
+Before 1.5, this part of the logic is hard-coded in the agent. Resource
+providers are mainly responsible for updating Mesos about available resources
+and handling operations on those resources.
+
+There are two types of resource providers: Local Resource Providers (LRP) and
+External Resource Providers (ERP). Local resource providers only provide
+resources that are tied to a particular agent node, while external resource
+providers provide resources that are not tied to any agent node (a.k.a. global
+resources). The resource provider API is designed in such a way that it works
+for both types of resource providers. In Mesos 1.5, only local resource
+providers are supported.
+
+The resource provider API is an HTTP-based API, allowing resource providers to
+be running outside the Mesos master or agent. This is important for ERPs.
+
+There is a component in the agent, called the Resource Provider Manager, that
+monitors and manages LRPs on that agent. The same component will be running in
+the master in the future to monitor ERPs.