Score:7%
Task
Create a new PersistentVolumeClaim
• Name: pv-volume
• Class: csi-hostpath-sc
• Capacity: 10Mi
Create a new Pod which mounts the PersistentVolumeClaim as a volume:
• Name: web-server
• Image: nginx
• Mount path: /usr/share/nginx/html
Configure the new Pod to have ReadWriteOnce access on the volume.
Finally, using kubectl edit or kubectl patch expand the PersistentVolumeClaim to a capacity of 70Mi and record that change.
Create a pod as follows:
The pod should launch in the staging namespace and the volume must not be persistent.
Task Weight: 4%
Task
Schedule a Pod as follows:
• Name: kucc1
• App Containers: 2
• Container Name/Images:
o nginx
o consul