Monitor the logs of pod foo and:
Extract log lines corresponding to error unable-to-access-website
Write them to/opt/KULM00201/foo
Solution:
solution
F:WorkData Entry WorkData Entry20200827CKA1 B.JPG
F:WorkData Entry WorkData Entry20200827CKA1 C.JPG
Does this meet the goal?
Correct Answer:
A
Perform the following tasks:
Add an init container to hungry-bear (which has been defined in spec file
/opt/KUCC00108/pod-spec-KUCC00108.yaml)
The init container should create an empty file named/workdir/calm.txt
If /workdir/calm.txt is not detected, the pod should exit
Once the spec file has been updated with the init container definition, the pod should be created
Solution:
solution
F:WorkData Entry WorkData Entry20200827CKA4 B.JPG
F:WorkData Entry WorkData Entry20200827CKA4 C.JPG
F:WorkData Entry WorkData Entry20200827CKA4 D.JPG
Does this meet the goal?
Correct Answer:
A
Score: 5%
Task
Monitor the logs of pod bar and:
• Extract log lines corresponding to error file-not-found
• Write them to /opt/KUTR00101/bar
Solution:
Solution:
kubectl logs bar | grep 'unable-to-access-website' > /opt/KUTR00101/bar cat /opt/KUTR00101/bar
Does this meet the goal?
Correct Answer:
A