Chun-Hung Hsiao created MESOS-8031:
--------------------------------------

             Summary: SLRP Configuration
                 Key: MESOS-8031
                 URL: https://issues.apache.org/jira/browse/MESOS-8031
             Project: Mesos
          Issue Type: Task
          Components: agent
            Reporter: Chun-Hung Hsiao
            Assignee: Chun-Hung Hsiao


A typical SLRP configuration could look like the following:
{noformat}
{
  "type": "org.apache.mesos.rp.local.storage",
  "name": "local-volume",
  "storage": {
    "csi_plugins": [
      {
        "name": "plugin_1",
        "command": {...},
        "resources": [...],
        "container": {...}
      },
      {
        "name": "plugin_2",
        "command": {...},
        "resources": [...],
        "container": {...}
      }
    ],
    "controller_plugin_name": "plugin_1",
    "node_plugin_name": "plugin_2"
  }
}
{noformat}
The {{csi_plugins}} field lists the configurations to launch standalone 
containers for CSI plugins. The plugins are specified through a map, then we 
use the {{controller_plugin_name}} and {{node_plugin_name}} fields to refer to 
the corresponding plugin. With this design, we can support both headless and 
split-component deployment for CSI.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to