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
10 months agoMarylou
10 months agoValene
10 months agoNoel
10 months agoLavera
11 months agoLawrence
11 months agoTwana
11 months agoRonny
11 months agoJamie
11 months agoLinsey
11 months agoAnnita
11 months agoHaydee
11 months agoVictor
11 months agoDenny
12 months agoCathrine
12 months agoJennie
12 months agoChery
2 years agoDaniel
2 years agoIsabella
2 years agoDalene
2 years agoJovita
2 years agoReynalda
2 years ago