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
7 months agoAlverta
8 months agoCarolann
8 months agoRodney
8 months agoAbraham
8 months agoWei
8 months agoNovella
8 months agoJeannetta
8 months agoFelicitas
9 months agoAlonzo
9 months agoLavelle
9 months ago