4.1 Persistent Storage Flashcards

1
Q

Como se obtienen las clases de storage

A

oc get storageclass

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

Como se crea un volumen persistente en un contenedor para nfs-storage

A
oc set volumes deployment/APP 
—add
—name storage-name 
—type pvc
—claim-class nfs-storage
—claim-mode rwo 
—claim-size 10Gi
—mount-path /var/log 
—claim-name storage-name
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Como Muestras la información de los discos persistentes

A

oc get pv

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

Como se elimina todo del aplicativo MYAPP

A

oc delete all -l app=MYAPP

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

Como se elimina un claim de storage persistente

A

oc delete pvc NAME

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