Veritas InfoScale™ for Kubernetes Environments 8.0.300 - Linux
- Overview
- System requirements
- Preparing to install InfoScale on Containers
- Installing Veritas InfoScale on OpenShift
- Introduction
- Prerequisites
- Additional Prerequisites for Azure RedHat OpenShift (ARO)
- Considerations for configuring cluster or adding nodes to an existing cluster
- Creating multiple InfoScale clusters
- Installing InfoScale on a system with Internet connectivity
- Installing InfoScale in an air gapped system
- Removing and adding back nodes to an Azure RedHat OpenShift (ARO) cluster
- Installing Veritas InfoScale on Kubernetes
- Configuring KMS-based Encryption on an OpenShift cluster
- Configuring KMS-based Encryption on a Kubernetes cluster
- InfoScale CSI deployment in Container environment
- CSI plugin deployment
- Raw block volume support
- Static provisioning
- Dynamic provisioning
- Resizing Persistent Volumes (CSI volume expansion)
- Snapshot provisioning (Creating volume snapshots)
- Managing InfoScale volume snapshots with Velero
- Volume cloning
- Using InfoScale with non-root containers
- Using InfoScale in SELinux environments
- CSI Drivers
- Creating CSI Objects for OpenShift
- Creating ephemeral volumes
- Installing and configuring InfoScale DR Manager on OpenShift
- Installing and configuring InfoScale DR Manager on Kubernetes
- Disaster Recovery scenarios
- Configuring InfoScale
- Administering InfoScale on Containers
- Migrating applications to InfoScale
- Troubleshooting
Creating ephemeral volumes
Some applications like caching services do not require persistent storage. Ephemeral volumes are temporary volumes which such applications can utilize. You can use InfoScale CSI drivers to create generic ephemeral volumes.
Ephemeral volumes can be created in block mode also by setting volumeMode to 'Block'. Snapshotting, cloning, and resizing are also supported. See the sections above to know more.
Complete the following steps to create ephemeral volumes by using an InfoScale CSI driver storage class.
Copy the following content and save as
ephemeral_volume_pod.yaml.kind: Pod apiVersion: v1 metadata: name: test-pod spec: containers: - name: test-pod-container image: busybox volumeMounts: - mountPath: "/ephemeral" name: ephemeral-volume command: [ "sleep", "1000000" ] volumes: - name: ephemeral-volume ephemeral: volumeClaimTemplate: metadata: labels: type: test-pod-volume spec: accessModes: [ "ReadWriteOnce" ] storageClassName: "vxvmsc-mirror" resources: requests: storage: 1GiRun the following command to create an application pod with the ephemeral volume.
kubectl/oc apply -f ephemeral_volume_pod.yaml
Run the following command to verify.
kubectl/oc get pvc