dcos storage provider remove

ENTERPRISE

Remove an existing volume provider.

dcos storage provider remove

Remove an existing volume provider.

Synopsis

Required arguments:

<name>     The name of the volume provider to remove.

Remove an existing volume provider.

dcos storage provider remove --name <name> [flags]

Examples

  1. Create a volume provider then remove it again:
cat <<EOF | dcos storage provider create
{
    "name": "ssds",
    "spec": {
        "plugin": {
            "name": "lvm",
            "config-version": "latest"
        },
        "node": "c67efa5d-34fa-4bc5-8b21-2a5e0bd52385-S2",
        "plugin-configuration": {
            "devices": ["xvdb", "xvdc"]
        },
        "labels": {"rotational": "false"}
    }
}
EOF
dcos storage provider remove --name ssds

Options

Name Description
--missing Will only remove a volume provider if it's reported as MISSING.
--name string The name of the volume provider to remove (required).

Options inherited from parent commands

Name Description
-h,--help Help for this command.
--timeout duration Override the default operation timeout. (default 55s)
-v,--verbose Verbose mode.