Untitled

파드 custom-app의 로그를 모니터링하고 "error file not found"에 해당하는 로그 라인을 추출하여 /var/cka2022/podlog에 작성하세요.


  1. kubectl config use-context hk8s
  2. kubectl get pods custom-app
  3. kubectl logs custom-app | grep ‘file not found’ > /var/CKA2022/podlog