CORRECT TEXT

Task:
1.
Update the Propertunel scaling configuration of the Deployment web1 in the ckad00015 namespace setting maxSurge to 2 and maxUnavailable to 59
2.
Update the web1 Deployment to use version tag 1.13.7 for the Ifconf/nginx container image.
3.
Perform a rollback of the web1 Deployment to its previous version
A. Please check explanations
B. Place Holder
CORRECT TEXT

Context
A user has reported an application is unreachable due to a failing livenessProbe .
Task
Perform the following tasks:
Find the broken pod and store its name and namespace to /opt/KDOB00401/broken.txt in the format:

The output file has already been created
1.
Store the associated error events to a file /opt/KDOB00401/error.txt, The output file has already been created. You will need to use the -o wide output specifier with your command
2.
Fix the issue.

A. Please check explanations
B. Place Holder
CORRECT TEXT

Task:
Update the Pod ckad00018-newpod in the ckad00018 namespace to use a NetworkPolicy allowing the Pod to send and receive traffic only to and from the pods web and db

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

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 1Gi of memory for the Pod's container.
A. Please check explanations
B. Place Holder
CORRECT TEXT


Task:
Update the Deployment app-1 in the frontend namespace to use the existing ServiceAccount app.
A. Please check explanations
B. Place Holder
CORRECT TEXT

Given a container that writes a log file in format A and a container that converts log files from format A to format B, create a deployment that runs both containers such that the log files from the first container are converted by the second container, emitting logs in format
Task:
1.
Create a deployment named deployment-xyz in the default namespace, that:
2.
Includes a primary
3.
lfccncf/busybox:1 container, named logger-dev
4.
Includes a sidecar Ifccncf/fluentd:v0.12 container, named adapter-zen Mounts a shared volume /tmp/log on both containers, which does not persist when the pod is deleted
5.
Instructs the logger-dev
container to run the command

which should output logs to /tmp/log/input.log in plain text format, with example values:

The adapter-zen sidecar container should read /tmp/log/input.log and output the data to /tmp/log/output.* in Fluentd JSON format. Note that no knowledge of Fluentd is required to complete this task: all you will need to achieve this is to create the ConfigMap from the spec file provided at /opt/KDMC00102/fluentd-configmap.yaml , and mount that ConfigMap to /fluentd/etc in the adapter-zen sidecar container
A. Please check explanations
B. Place Holder
CORRECT TEXT

Context
Developers occasionally need to submit pods that run periodically.
Task
Follow the steps below to create a pod that will start at a predetermined time and]which runs to completion only once each time it is started:
Create a YAML formatted Kubernetes manifest /opt/KDPD00301/periodic.yaml that runs the following shell command: date in a single busybox container.
The command should run every minute and must complete within 22 seconds or be terminated oy Kubernetes. The Cronjob name and container name should both be hello
Create the resource in the above manifest and verify that the job executes successfully at least once
A. Please check explanations
B. Place Holder
CORRECT TEXT

Task:
A pod within the Deployment named buffalo-deployment and in namespace gorilla is logging errors.
Look at the logs identify errors messages.
Find errors, including User "system:serviceaccount:gorilla:default" cannot list resource "deployment" [...] in the namespace "gorilla"
The buffalo-deployment `S manifest can be found at -/prompt/escargot/buffalo- deployment.yaml
A. Please check explanations
B. Place Holder
CORRECT TEXT

Task:
Key3: value1
Add an environment variable named BEST_VARIABLE consuming the value of the secret key3.
A. Please check explanations
B. Place Holder