Configuring Application Workloads to Use OpenShift Data Foundation File and Block Storage Flashcards
(78 cards)
What is the purpose of OpenShift Data Foundation storage classes?
To provide different storage types to satisfy the storage requirements of applications.
OpenShift Data Foundation configures SCs to support various storage types.
What type of storage do containers use by default in Kubernetes?
Ephemeral storage.
Data stored in a container file system is lost when the container crashes or is stopped.
What are the two categories of volume types in Kubernetes?
- Ephemeral volume types
- Persistent volume types
Name three common types of ephemeral volume types.
- emptyDir
- configMap
- secret
What are persistent volumes (PVs) in Kubernetes?
Kubernetes resources that abstract users from the details of physical storage and provisioning.
What is the lifecycle of a persistent volume (PV)?
Independent of any individual pod that uses them.
What is a PersistentVolumeClaim (PVC)?
Kubernetes objects that request PV resources with specific details like size and access mode.
What is the difference between static and dynamic provisioning in Kubernetes?
- Static provisioning requires manual creation of storage volumes and PVs.
- Dynamic provisioning automatically provisions storage and creates PVs when users create PVCs.
What does the reclaim policy for a PV control?
What happens to the PV data when the application releases it.
What are the valid values for the reclaim policy of a PV?
- Delete
- Retain
What is the purpose of storage classes (SCs) in Kubernetes?
To dynamically provision PVs and describe classes of storage offered by the cluster.
Name two characteristics of block storage.
- Presented to the OS as a block device
- Suitable for high-performance applications
What is an example of a storage type that uses a hierarchical structure of directories?
File storage.
What is object storage designed for?
Storing large unstructured data accessible through a REST API endpoint.
What does the ‘allowVolumeExpansion’ parameter in a storage class do?
Defines whether the storage class enables volume expansion.
What does the OpenShift Data Foundation create to make disk devices available to the Rook-Ceph operator?
A storage class commonly named lso-volumeset.
What is the purpose of the ocs-storagecluster-ceph-rbd storage class?
Provides block storage using Ceph RADOS Block Device (RBD) technology.
What is the function of the NooBaa operator in OpenShift Data Foundation?
Provides the Multicloud Object Gateway (MCG) service for object storage.
What storage type is recommended for the image registry service in OpenShift?
Configurable storage.
What is a key characteristic of persistent storage suitable for stateful applications?
Data must be preserved beyond the lifetime of individual instances or containers.
Fill in the blank: Kubernetes volumes are a directory that is accessible to the containers in a _______.
pod.
True or False: PVs can be dynamically provisioned without user intervention.
True.
What is the primary purpose of block storage?
To provide access to raw block devices for application storage
What technologies are commonly associated with block storage?
Storage area network (SAN) and iSCSI technologies