How to check logs of IraCpa


  1. Check for Volume Mount:

    • Use kubectl describe pod <pod-name> to examine the Pod's specification.
    • Look for a volume mount that matches the component's log directory.
    • If a volume mount exists:
      • Determine the host path or persistent volume claim (PVC) associated with the volume.
      • Access the log files directly from the host machine or by mounting the PVC.
  2. If no Volume Mount:

    • Use the following command to exec into the Pod's container:
      Bash
      kubectl exec -it <pod-name> -c <container-name> -- bash 
      
    • Navigate to the log directory:
      • Use cd to navigate to the /var/log/epi directory within the container's shell.
    • View log files:
      • Use cat to view the log files.