Persistent Storage Flashcards
three primary components of storage architecture
1) storage classes
2) PV
3) PVC
Example of NAS Storage (file storage)
1) Network File System (NFS)
2) Server Message Block (SMB)
3) Common Internet File System (CIFS)
Examples of block storage
1) Storage Area Networks (SAN)
2) Amazon Elastic Block Store (EBS)
3) Google Cloud Persistent Disk
Example object storage
1) Amazon Simple Storage Service (S3)
2) Red Hat Ceph Storage
3) OpenStack Object Storage (Swift)
shared storage
File or Object
Different access modes
Storage class CR
two options to manage NFS persistent volumes
1) Playbook automation
2) Operator or custom provisioner
What provisioner to use for storage class for a volume plug-in that does not have a corresponding provisioner
kubernetes.io/no-provisioner
What is the ebs provisioner?
kubernetes.io/aws-ebs
what is the vmware vsphere provisioner?
kubernetes.io/vsphere-volume
OpenShift does not have support for NFS persistent volumes. True or False
True. Only has support for sharable NFS
Persistent volume supported is Azure File
Configure a storageclass as default
oc annotate storageclass standard \
–overwrite “storageclass.kubernetes.io/is-default-class=true”
What happens if you configure multiple storage class as default
If more than one default exists, OpenShift will not provision a PV for a PVC that does not specify a storage class.
How do you restrict access to a storage type?
Create quota
Field to define max disk size for a specific storage class
//storage-class-name//.storageclass.storage.k8s.io/ requests.storage
Field to define max number of pvc for a specific storage class
//storage-class-name//.storageclass.storage.k8s.io/ persistentvolumeclaims
Create a storage quota for current project
c create quota storage
–hard requests.storage=5G,persistentvolumeclaims=3
Key characteristic of block storage
stores data in fixed-size blocks
Examples of block storage
1) HDD,
2) SAN,
3) SSD,
4) iSCSI
5) Fibre Channel
6) Amazon Elastic Block Store (EBS),
7) Google Persistent Disk
8) Azure Disks
Block storage PV CR
Block storage PVC CR
All block storage in Kubernetes and OpenShift has a ReadWriteOnce access mode. True or False
True
Local block storage PV CR
Define local volume to configure local volume operator
In what namespace do you instance LocalVolume CR?
In the namespace where local volume operator is installed.
oc get clusterserviceversions –all-namespaces