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
10 months agoCarmela
11 months agoFausto
11 months agoBenton
11 months agoEmilio
11 months agoFrance
11 months agoWilda
11 months agoJaime
11 months agoElbert
12 months agoTuyet
12 months agoRoosevelt
12 months agoAndra
12 months ago