Persistent Storage Flashcards

1
Q

three primary components of storage architecture

A

1) storage classes
2) PV
3) PVC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Example of NAS Storage (file storage)

A

1) Network File System (NFS)

2) Server Message Block (SMB)

3) Common Internet File System (CIFS)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Examples of block storage

A

1) Storage Area Networks (SAN)

2) Amazon Elastic Block Store (EBS)

3) Google Cloud Persistent Disk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Example object storage

A

1) Amazon Simple Storage Service (S3)

2) Red Hat Ceph Storage

3) OpenStack Object Storage (Swift)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

shared storage

A

File or Object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Different access modes

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Storage class CR

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

two options to manage NFS persistent volumes

A

1) Playbook automation
2) Operator or custom provisioner

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What provisioner to use for storage class for a volume plug-in that does not have a corresponding provisioner

A

kubernetes.io/no-provisioner

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the ebs provisioner?

A

kubernetes.io/aws-ebs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what is the vmware vsphere provisioner?

A

kubernetes.io/vsphere-volume

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

OpenShift does not have support for NFS persistent volumes. True or False

A

True. Only has support for sharable NFS
Persistent volume supported is Azure File

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Configure a storageclass as default

A

oc annotate storageclass standard \
–overwrite “storageclass.kubernetes.io/is-default-class=true”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What happens if you configure multiple storage class as default

A

If more than one default exists, OpenShift will not provision a PV for a PVC that does not specify a storage class.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How do you restrict access to a storage type?

A

Create quota

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Field to define max disk size for a specific storage class

A

//storage-class-name//.storageclass.storage.k8s.io/ requests.storage

17
Q

Field to define max number of pvc for a specific storage class

A

//storage-class-name//.storageclass.storage.k8s.io/ persistentvolumeclaims

18
Q

Create a storage quota for current project

A

c create quota storage
–hard requests.storage=5G,persistentvolumeclaims=3

19
Q

Key characteristic of block storage

A

stores data in fixed-size blocks

20
Q

Examples of block storage

A

1) HDD,
2) SAN,
3) SSD,
4) iSCSI
5) Fibre Channel
6) Amazon Elastic Block Store (EBS),
7) Google Persistent Disk
8) Azure Disks

21
Q

Block storage PV CR

A
22
Q

Block storage PVC CR

A
23
Q

All block storage in Kubernetes and OpenShift has a ReadWriteOnce access mode. True or False

A

True

24
Q

Local block storage PV CR

A
25
Q

Define local volume to configure local volume operator

A
26
Q

In what namespace do you instance LocalVolume CR?

A

In the namespace where local volume operator is installed.

oc get clusterserviceversions –all-namespaces