Files
my-docs/Containerization & Orchestration/Kubernetes/Commands/log-debug.md
2025-06-30 13:21:52 +03:30

418 B

  • Stream Logs for a Running Pod

    kubectl logs -f -n <namespace-name> <pod-name>
    
    kubectl logs -f -n <namespace-name> <pod-name> -c <container-name>
    
  • Get Detailed Information About a Pod

    kubectl describe pod <pod-name> -n <namespace-name>
    

in log swith the pod need to be up

but in describe dont need to pod be up

describe work on all components