Exam CKA Topic 4 Question 26 Discussion
Actual exam question for Linux Foundation's CKA exam
Question #: 26
Topic #: 4
Question #: 26
Topic #: 4
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
* 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
Suggested Answer:
* Once the spec file has been updated with the init container definition, the pod should be created See the solution below.
Explanation
solution



Explanation
solution



by Will at May 30, 2025, 12:04 PM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).