Configure Storage in Fleet
Objective
This guide provides instructions on how to set storage for your applications using the Volterra fleet of sites. Storage configuration set using fleet gets applied to all the sites that are part of the fleet and will be accessible to the workloads on those sites. For more information on Volterra fleet concept, see Fleet.
Using the instructions provided in the document, you can define the following storage configuration using fleet:
- Storage devices - configuration for a specific hardware appliance.
- Storage classes - class to which the appliance belongs to and this is dependent on the appliance provider. For example, a class can be a fast pool or slow pool of devices.
- Storage interfaces - interfaces for storage devices.
Note: This guide provides instructions on setting storage for an existing fleet by editing the fleet object configuration. However, you can also define the storage configuration in similar manner while creating a fleet. For information on how to create a fleet, see Create Fleet guide.
Prerequisites
- A valid Volterra Account is required.
Note: In case you do not have an account, see Create a Volterra Account.
- Volterra site.
- Storage devices (cloud or on-premise data centers).
Configuration
Step 1: Log into the VoltConsole and start editing the fleet configuration.
- Select
Manage
from the configuration menu in thesystem
namespace. SelectSite Management
->Fleet
from the options. A list of created fleet objects gets displayed. - Select
...
->Edit
for the fleet object for which you want to define storage configuration.
Step 2: Navigate to storage configuration section and set interfaces for storage.
- Navigate to
Storage Configuration
section and selectList of Storage Interface
for theSelect Storage Interface Configuration
field. - Select an interface from the displayed list or click
Create new interface
for theList of Interface
field. You can add multiple interfaces using theAdd item
option.
Note: See Interfaces for instructions on creating network interfaces. See Multi Node Site Network Setup Using Fleet for instructions on how to configure networking using fleet for multi node sites.
Step 3: Configure storage devices.
- Select
List of Storage Devices
for theSelect Storage Device Configuration
field. ClickConfigure
under theList of Storage Devices
field. This opens storage devices configuration.
- Click
Add item
in theList of Storage Devices
page and enter a name for theStorage Device
field. Ensure that this name corresponds to the class in which the storage device falls. The classes are used by vK8s for storage related actions. - Select an option for the
Select Storage Device to Configure
field - Enter a name in the
Storage Device
field. Ensure that this name corresponds to the class that will be configured in later steps. - Perform the following as per the option you chose:
OpenEBS Enterprise
- Click
Configure
under theList of Mayastor Pools
to open Mayastor pool configuration page. - Click
Add item
in theList of Mayastor Pools
page. - Enter a name for the
Mayastor Pool Name
page. - Enter a name for the
Node Name
field. - Enter list of devices in the
List of Disk Devices
field. An example disk types is/dev/sba
.
- Click
Apply
.
NetApp Trident
- Select an option for the
Select NetApp Trident Backend
field. TheONTAP NAS
is selected by default. - Select an option for the
Backend Management LIF
field. TheBackend Management LIF IP Address
is selected by default. Enter an IP address for the backend management logical interface in theBackend Management LIF IP Address
field. In case you select the name option, enter the backend management interface name. - Select an option for the
Backend Data LIF
field. TheBackend Data LIF IP Address
is selected by default. Enter an IP address for the backend data interface in theBackend Data LIF IP Address
field. In case you select the name option, enter the backend data interface name.
- Enter a username in the
Username
field. ClickConfigure
for thePassword
field. Enter your password in theSecret
page and clickBlindfold
. Wait for the Blindfold to complete encrypting your password and clickApply
. - Enter CIDR for your K8s nodes in the
Auto Export CIDRs
field in case auto export policy is enabled for your storage device.
- Click
Apply
.
Pure Storage Service Orchestrator
- Enter a cluster identifier in the
Cluster ID
field. This is used to identify the volumes used by the datastore. Alphanumeric characters and underscores are allowed.
Note: Unique cluster ID is required for multiple K8s cluster using the same storage device.
-
Click
Configure
under theFlash Arrays
field and do the following:- Enter an IP address in the
Management Endpoint IP Address
field. - Click
Configure
under theAPI Token
field. Enter the token in the secret field and clickBlindfold
. ClickApply
after the Blindfold encryption is completed. - Click
Apply
.
- Enter an IP address in the
-
Click
Configure
under theFlash Blade
field and do the following:- Enter the IP address in the
Management Endpoint IP Address
field. - Click
Configure
under theAPI Token
field. Enter the token in the secret field and clickBlindfold
. ClickApply
after the Blindfold encryption is completed. - Enter the IP address in the
NFS IP Address
field. - Click
Apply
.
- Enter the IP address in the
Note: You can change the management or NFS endpoints to specify management endpoint name or NFS DNS name.
- Click
Apply
.
Note: You can add multiple devices using the
Add item
option.
Step 4: Configure storage classes.
You can use default storage classes supported in K8s or you can customize the classes. In case you are using default classes, ensure that the storage device names correspond to the K8s classes. This step shows how to configure custom classes.
- Select
Select Configuration for Storage Classes
for theSelect Configuration for Storage Classes
field. ClickConfigure
under theList of Storage Classes
field. This opens storage class configuration page. - Click
Add item
in theList of Storage Classes
page and enter a name for theStorage Class Name
field.
Note: Ensure that the storage device name set in Step 2 is as per this name. The classes are used by vK8s for storage related actions.
- Enter a name in the
Storage Device
field. - Select an option for the
Select Storage Class Configuration
field and perform the following as per the option you chose:
OpenEBS Enterprise
- Select a protocol for the
Protocol
field. Theiscsi
option is selected by default. - Optionally enter a replication value for the
Replication
field.
- Click
Apply
.
NetApp Trident
- Click
Apply
.
Pure Storage Service Orchestrator
- Select an option for the
Backend
field. Theblock
option is selected by default
- Click
Apply
.
Note: You can add multiple classes using the
Add item
option.
Step 5: Complete applying storage configuration to fleet.
Click Save and Exit
to apply the storage configuration fleet.
Note: You can add the sites to fleet by adding the fleet label to the site configuration. See Create Fleet guide for more information.