Linux Foundation CKA Exam - Topic 1 Question 30 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
Selma
9 months agoCarmela
9 months agoFausto
9 months agoBenton
9 months agoEmilio
10 months agoFrance
10 months agoWilda
10 months agoJaime
10 months agoElbert
10 months agoTuyet
10 months agoRoosevelt
10 months agoAndra
10 months ago