CORRECT TEXT
Task: Create a Deployment named expose in the existing ckad00014 namespace running 6 replicas of a Pod. Specify a single container using the ifccncf/nginx: 1.13.7 image Add an environment variable named NGINX_PORT with the value 8001 to the container then expose port 8001
A. Please check explanations
B. Place Holder
CORRECT TEXT
Task
Create a new deployment for running.nginx with the following parameters:
1.
Run the deployment in the kdpd00201 namespace. The namespace has already been created
2.
Name the deployment frontend and configure with 4 replicas
3.
Configure the pod with a container image of lfccncf/nginx:1.13.7
4.
Set an environment variable of NGINX__PORT=8080 and also expose that port for the container above
A. Please check explanations
B. Place Holder
CORRECT TEXT 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:
1.
Create a YAML formatted pod manifest
2.
/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
3.
Create the pod with the kubect1 command using the YAML file created in the previous step
4.
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
5.
All of the files you need to work with have been created, empty, for your convenience
A. Please check explanations
B. Place Holder
CORRECT TEXT
Context
A container within the poller pod is hard-coded to connect the nginxsvc service on port 90 . As this port changes to 5050 an additional container needs to be added to the poller pod which adapts the container to connect to this new port. This should be realized as an ambassador container within the pod.
Task
Update the nginxsvc service to serve on port 5050. Add an HAproxy container named haproxy bound to port 90 to the poller pod and deploy the enhanced pod. Use the image haproxy and inject the configuration located at /opt/KDMC00101/haproxy.cfg, with a ConfigMap named haproxyconfig, mounted into the container so that haproxy.cfg is available at /usr/local/etc/haproxy/haproxy.cfg. Ensure that you update the args of the poller container to connect to localhost instead of nginxsvc so that the connection is correctly proxied to the new service endpoint. You must not modify the port of the endpoint in poller's args . The spec file used to create the initial poller pod is available in /opt/KDMC00101/poller.yaml
A. Please check explanations
B. Place Holder
CORRECT TEXT
Context You are tasked to create a secret and consume the secret in a pod using environment variables as follow: Task
1.
Create a secret named another-secret with a key/value pair; key1/value4
2.
Start an nginx pod named nginx-secret using container image nginx, and add an environment variable exposing the value of the secret key key1, using COOL_VARIABLE as the name for the environment variable inside the pod
A. Please check explanations
B. Place Holder
CORRECT TEXT
Task:
A Dockerfile has been prepared at -/human-stork/build/Dockerfile
A. Please check explanations
B. Place Holder
CORRECT TEXT
Task
A Deployment named backend-deployment in namespace staging runs a web application on port 8081.
A. Please check explanations
B. Place Holder
CORRECT TEXT
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.
A. Please check explanations
B. Place Holder
CORRECT TEXT
Task:
Modify the existing Deployment named broker-deployment running in namespace quetzal so that its containers.
The broker-deployment is manifest file can be found at:
A. Please check explanations
B. Place Holder