Question 21

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

    Create a pod that echo "hello world" and then exists. Have the pod deleted automatically when it's completed

    Question 23

    You must connect to the correct host.
    Failure to do so may result in a zero score.
    [candidate@base] $ ssh Cka000060
    Task
    Install Argo CD in the cluster by performing the following tasks:
    Add the official Argo CD Helm repository with the name argo
    The Argo CD CRDs have already been pre-installed in the cluster
    Generate a template of the Argo CD Helm chart version 7.7.3 for the argocd namespace and save it to ~/argo- helm.yaml . Configure the chart to not install CRDs.

    Question 24

    Set the node named ek8s-node-1 as unavailable and reschedule all the pods running on it.

    Question 25

    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.