List all persistent volumes sorted by capacity, saving the full kubectl output to /opt/KUCC00102/volume_list. Use kubectl 's own functionality for sorting the output, and do not manipulate it any further.
Create a busybox pod that runs the command “env” and save the output to “envpod” file
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 namespace called 'development' and a pod with image nginx called nginx on this namespace.
Kubernetes Administrator | CKA Questions Answers | CKA Test Prep | Certified Kubernetes Administrator (CKA) Program Questions PDF | CKA Online Exam | CKA Practice Test | CKA PDF | CKA Test Questions | CKA Study Material | CKA Exam Preparation | CKA Valid Dumps | CKA Real Questions | Kubernetes Administrator CKA Exam Questions