Question 6

Exhibit:

Task
Create a new deployment for running.nginx with the following parameters;
* Run the deployment in the kdpd00201 namespace. The namespace has already been created
* Name the deployment frontend and configure with 4 replicas
* Configure the pod with a container image of lfccncf/nginx:1.13.7
* Set an environment variable of NGINX__PORT=8080 and also expose that port for the container above
  • Question 7

    Context

    Task:
    Create a Pod named nginx resources in the existing pod resources namespace.
    Specify a single container using nginx:stable image.
    Specify a resource request of 300m cpus and 1G1 of memory for the Pod's container.

    Question 8

    Exhibit:

    Context
    You have been tasked with scaling an existing deployment for availability, and creating a service to expose the deployment within your infrastructure.
    Task
    Start with the deployment named kdsn00101-deployment which has already been deployed to the namespace kdsn00101 . Edit it to:
    * Add the func=webFrontEnd key/value label to the pod template metadata to identify the pod for the service definition
    * Have 4 replicas
    Next, create ana deploy in namespace kdsn00l01 a service that accomplishes the following:
    * Exposes the service on TCP port 8080
    * is mapped to me pods defined by the specification of kdsn00l01-deployment
    * Is of type NodePort
    * Has a name of cherry
  • Question 9

    Exhibit:

    Task
    A deployment is falling on the cluster due to an incorrect image being specified. Locate the deployment, and fix the problem.
  • Question 10


    Context
    Your application's namespace requires a specific service account to be used.
    Task
    Update the app-a deployment in the production namespace to run as the restrictedservice service account. The service account has already been created.