Question 56

Create a nginx pod with label env=test in engineering namespace
See the solution below.
  • Question 57

    Perform the following tasks:
    * Add an init container tohungry-bear(which has beendefined in spec file
    /opt/KUCC00108/pod-spec-KUCC00108.yaml)
    * The init container should createan empty file named/workdir/calm.txt
    * If/workdir/calm.txtis notdetected, the pod should exit
    * Once the spec file has beenupdatedwith the init containerdefinition, the pod should becreated

    Question 58

    Score: 5%

    Task
    From the pod label name=cpu-utilizer, find pods running high CPU workloads and write the name of the pod consuming most CPU to the file /opt/KUTR00401/KUTR00401.txt (which already exists).

    Question 59

    Change the Image version back to 1.17.1 for the pod you just updated and observe the changes

    Question 60

    Create PersistentVolume named task-pv-volume with storage 10Gi, access modes ReadWriteMany, storageClassName manual, and volume at /mnt/data and Create a PersistentVolumeClaim of at least 3Gi storage and access mode ReadWriteOnce and verify