Linux Foundation CKA Exam - Topic 3 Question 55 Discussion
Score: 4%TaskCreate a persistent volume with name app-data , of capacity 1Gi and access mode ReadOnlyMany. The type of volume is hostPath and its location is /srv/app-data .
A) Explanation:
Solution:
#vi pv.yaml
apiVersion: v1
kind: PersistentVolume
metadata:
name: app-config
spec:
capacity:
storage: 1Gi
accessModes:
- ReadOnlyMany
hostPath:
path: /srv/app-config
#
kubectl create -f pv.yaml
Theola
7 months agoMarylou
7 months agoValene
7 months agoNoel
7 months agoLavera
8 months agoLawrence
8 months agoTwana
8 months agoRonny
8 months agoJamie
8 months agoLinsey
8 months agoAnnita
8 months agoHaydee
8 months agoVictor
8 months agoDenny
9 months agoCathrine
9 months agoJennie
9 months agoChery
2 years agoDaniel
2 years agoIsabella
2 years agoDalene
2 years agoJovita
2 years agoReynalda
2 years ago