OpenShift Operator - Create Persistent Volumes
- Overview
- Create Persistent Volumes following the OpenShift Documentation
- Add references to Persistent Volumes to Operator
Overview
The manual creation of Persistent Volumes is not required. With Cluster-Admin permissions, the vFunction OpenShift Operator Installation Script will try to dynamically create 2 x 50gb Persistent Volumes automatically using the default StorageClass and Persistent Volume Claims.
In restricted environments, the 2 x 50gb Persistent Volumes can be manually created and can be referenced in the vFunction OpenShift Operator’s installation.yaml.
If manually creating these Persistent Volumes, one will be used for MySQL DB Storage and one will be used for Measurement Filesystem Storage. For ease of usage, the naming conventions used when creating the Persistent Volumes should help identify which Persistent Volume is which.
Create Persistent Volumes following the OpenShift Documentation
OpenShift supports many workflows to create Persistent Storage to be used by an Operator. Please select from the list below to be redirected to OpenShift’s documentation. Note that these links are version-specific (Container Platform v4.14) and new OpenShift documentation may have been published with updated steps.
- Persistent Storage using AWS Elastic Block Store
- Persistent Storage using Azure Disk
- Persistent Storage using Azure File
- Persistent Storage using Cinder
- Persistent Storage using Fibre Channel
- Persistent Storage using Flex Volume
- Persistent Storage using GCE Persistent Disk
- Persistent Storage using GCE Persistent Disk
- Persistent Storage using HostPath
- Persistent Storage using iSCSI
- Persistent Storage using Local Volumes
- Persistent Storage using LVM Storage
- Persistent Storage using NFS
- Persistent Storage using RedHat OpenShift Data Foundation
- Persistent Storage using VMWare VSphere
Add references to Persistent Volumes to Operator
The OpenShift Operator includes a YAML to configure the environment. This YAML is available in the vFunction OpenShift Offline Installation TGZ under vfunction-server-for-openshift/config/installation.yaml
. This YAML is available in the OpenShift Console for Online Installations.
- Open the vFunction Operator YAML
- Add the path to the MySQL DB Persistent Volume as the value for the the
storage.mysql_persistent_volume
key - Add the path to the Measurement Filesystem Volume Storage as the value for the
storage.storage_persistent_volume
key - If using the Offline Installation package, run the vfunction-server-for-openshift/install.sh script
- If using the OpenShift Console (Online), the changes should be applied with the Create Instance button in the UI