CKAD Exam Question 6

Exhibit:

Context
You sometimes need to observe a pod's logs, and write those logs to a file for further analysis.
Task
Please complete the following;
* Deploy the counter pod to the cluster using the provided YAMLspec file at /opt/KDOB00201/counter.yaml
* Retrieve all currently available application logs from the running pod and store them in the file /opt/KDOB0020l/log_Output.txt, which has already been created
  • CKAD Exam Question 7

    Exhibit:

    Context
    You are tasked to create a ConfigMap and consume the ConfigMap in a pod using a volume mount.
    Task
    Please complete the following:
    * Create a ConfigMap named another-config containing the key/value pair: key4/value3
    * start a pod named nginx-configmap containing a single container using the
    nginx image, and mount the key you just created into the pod under directory /also/a/path