Using Cloud Volumes ONTAP as persistent storage for Kubernetes Edit on GitHub Request doc changes

Cloud Manager can automate the deployment of NetApp Trident on a single Kubernetes cluster so you can use Cloud Volumes ONTAP as persistent storage for containers. Getting started includes a few quick steps.

Number 1 Verify network connectivity

  1. A network connection must be available between Cloud Manager and the Kubernetes cluster, and between Cloud Volumes ONTAP systems and the Kubernetes cluster. (A connection to only one Kubernetes cluster is supported.)

  2. Cloud Manager needs an outbound internet connection to access the following endpoints when installing Trident:

    https://packages.cloud.google.com/yum
    https://github.com/NetApp/trident/releases/download/

Number 2 Upload the Kubernetes configuration file to Cloud Manager

The Cloud Manager Admin needs to upload a configuration file (kubeconfig) that is in YAML format. After you upload the file, Cloud Manager installs Trident on the Kubernetes cluster.

sdf

Number 3 Connect your working environments to the Kubernetes cluster

sdf

Number 4 Start provisioning Persistent Volumes

Request and manage Persistent Volumes using native Kubernetes interfaces and constructs. Cloud Manager creates two Kubernetes storage classes that you can use when provisioning Persistent Volumes:

  • cvo-single: for binding a Persistent Volume to a single-node Cloud Volumes ONTAP system

  • cvo-ha: for binding a Persistent Volume to a Cloud Volumes ONTAP HA pair

Note that thick provisioning (volume reservation) is not supported.

What is the trident_trident volume?

Cloud Manager creates a volume on the first Cloud Volumes ONTAP system that you connect to the Kubernetes cluster. The volume is named "trident_trident." Cloud Volumes ONTAP systems use this volume to connect to the Kubernetes cluster. You should not delete this volume.

What happens when you disconnect or remove a Kubernetes cluster?

Cloud Manager enables you to disconnect individual Cloud Volumes ONTAP systems from the Kubernetes cluster. When you disconnect a system, you can no longer use that Cloud Volumes ONTAP system as persistent storage for containers. Existing Persistent Volumes are not deleted.

You can also remove the entire Kubernetes configuration from Cloud Manager. If you remove the configuration, connections to the Kubernetes cluster are lost. Existing Persistent Volumes are not deleted.