ExamGecko
Question list
Search
Search

List of questions

Search

Question 62 - CKA discussion

Report
Export

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

A.
See the solution below.
Answers
A.
See the solution below.
Suggested answer: A

Explanation:

Solution:

kubectl logs bar | grep 'unable-to-access-website' > /opt/KUTR00101/bar

cat /opt/KUTR00101/bar

asked 18/09/2024
Ryan Campbell
24 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first