-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trident driver for NetApp Cloud Volumes Service in AWS
- Loading branch information
Showing
39 changed files
with
2,762 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
Cloud Volumes Service (CVS) on AWS Configuration | ||
================================================ | ||
|
||
.. warning:: | ||
The NetApp Cloud Volumes Service for AWS does not support volumes less than 100 GB in size. To | ||
make it easier to deploy applications, Trident automatically creates 100 GB volumes if a | ||
smaller volume is requested. Future releases of the Cloud Volumes Service may remove this restriction. | ||
|
||
In addition to the global configuration values above, when using CVS on AWS, these options are available. The | ||
required values are all available in the CVS web user interface. | ||
|
||
+-----------------------+--------------------------------------------------------------------------+----------------------------------------------+ | ||
| Option | Description | Example | | ||
+=======================+==========================================================================+==============================================+ | ||
| ``apiRegion`` | CVS account region (required) | "us-east-1" | | ||
+-----------------------+--------------------------------------------------------------------------+----------------------------------------------+ | ||
| ``apiURL`` | CVS account API URL (required) | "https://cds-aws-bundles.netapp.com:8080/v1" | | ||
+-----------------------+--------------------------------------------------------------------------+----------------------------------------------+ | ||
| ``apiKey`` | CVS account API key (required) | | | ||
+-----------------------+--------------------------------------------------------------------------+----------------------------------------------+ | ||
| ``secretKey`` | CVS account secret key (required) | | | ||
+-----------------------+--------------------------------------------------------------------------+----------------------------------------------+ | ||
| ``nfsMountOptions`` | NFS mount options; defaults to "-o nfsvers=3" | "vers=3,proto=tcp,timeo=600" | | ||
+-----------------------+--------------------------------------------------------------------------+----------------------------------------------+ | ||
| ``serviceLevel`` | Performance level (standard, premium, extreme), defaults to "standard" | "premium" | | ||
+-----------------------+--------------------------------------------------------------------------+----------------------------------------------+ | ||
|
||
The required values ``apiRegion``, ``apiURL``, ``apiKey``, and ``secretKey`` may be found in the CVS web portal in | ||
Account settings / API access. | ||
|
||
Also, when using CVS on AWS, these default volume option settings are available. | ||
|
||
+-----------------------+--------------------------------------------------------------------------+--------------------------+ | ||
| Defaults Option | Description | Example | | ||
+=======================+==========================================================================+==========================+ | ||
| ``exportRule`` | NFS access list (addresses and/or CIDR subnets), defaults to "0.0.0.0/0" | "10.0.1.0/24,10.0.2.100" | | ||
+-----------------------+--------------------------------------------------------------------------+--------------------------+ | ||
| ``snapshotReserve`` | Snapshot reserve percentage, default is "" to accept CVS default of 0 | "10" | | ||
+-----------------------+--------------------------------------------------------------------------+--------------------------+ | ||
| ``size`` | Volume size, defaults to "100GB" | "500G" | | ||
+-----------------------+--------------------------------------------------------------------------+--------------------------+ | ||
|
||
Example CVS on AWS Config File | ||
------------------------------ | ||
|
||
.. code-block:: json | ||
{ | ||
"version": 1, | ||
"storageDriverName": "aws-cvs", | ||
"apiRegion": "us-east-1", | ||
"apiURL": "https://cds-aws-bundles.netapp.com:8080/v1", | ||
"apiKey": "znHczZsrrtHisIsAbOguSaPIKeyAZNchRAGzlzZE", | ||
"secretKey": "rR0rUmWXfNioN1KhtHisiSAnoTherboGuskey6pU", | ||
"region": "us-east-1", | ||
"serviceLevel": "premium", | ||
"storagePrefix": "cvs_", | ||
"limitVolumeSize": "200Gi", | ||
"defaults": { | ||
"snapshotReserve": "5", | ||
"exportRule": "10.0.0.0/24,10.0.1.0/24,10.0.2.100", | ||
"size": "100Gi" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.. _cvs_aws_vol_opts: | ||
|
||
Cloud Volumes Service (CVS) on AWS Volume Options | ||
================================================= | ||
|
||
Volume create options for the CVS on AWS driver: | ||
|
||
* ``size`` - the size of the volume, defaults to 100 GB | ||
* ``serviceLevel`` - the CVS service level of the volume, defaults to ``standard``. Valid values are ``standard``, ``premium``, and ``extreme``. | ||
* ``snapshotReserve`` - this will set the snapshot reserve to the desired percentage. The default is no value, meaning CVS will select the snapshot reserve (usually 0%). | ||
|
||
Using these options during the docker volume create operation is super simple, just provide the option and the value | ||
using the ``-o`` operator during the CLI operation. These override any equivalent values from the JSON configuration file. | ||
|
||
.. code-block:: bash | ||
# create a 200GiB volume | ||
docker volume create -d netapp --name demo -o size=200G | ||
# create a 500GiB premium volume | ||
docker volume create -d netapp --name demo -o size=500G -o serviceLevel=premium | ||
The minimum volume size is 100 GB. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.