Kanika Kohli:
Hi can anyone help me with this question:
Monitor the logs for all the containers which are part of the counter2 pod. Extract log lines which have the number 02 . Write them to /opt/kplabs
Tej_Singh_Rana:
Hello, @Kanika Kohli
You can use below command:-
kubectl logs counter2 --all-containers | grep number02