Linux Foundation CKA Exam - Topic 6 Question 28 Discussion
Score: 5%TaskMonitor the logs of pod bar and:* Extract log lines corresponding to error file-not-found* Write them to /opt/KUTR00101/bar
A) Explanation:
Solution:
kubectl logs bar | grep 'unable-to-access-website' > /opt/KUTR00101/bar
cat /opt/KUTR00101/bar
Cristal
10 months agoAlverta
11 months agoCarolann
11 months agoRodney
11 months agoAbraham
11 months agoWei
11 months agoNovella
11 months agoJeannetta
11 months agoFelicitas
12 months agoAlonzo
12 months agoLavelle
12 months ago