Question 6

Context
Anytime a team needs to run a container on Kubernetes they will need to define a pod within which to run the container.
Task
Please complete the following:
* Create a YAML formatted pod manifest
/opt/KDPD00101/podl.yml to create a pod named app1 that runs a container named app1cont using image Ifccncf/arg-output
with these command line arguments: -lines 56 -F
* Create the pod with the kubect1 command using the YAML file created in the previous step
* When the pod is running display summary data about the pod in JSON format using the kubect1 command and redirect the output to a file named /opt/KDPD00101/out1.json
* All of the files you need to work with have been created, empty, for your convenience
  • 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