# Viewing Logs

> How do you view and stream the logs of a Pod in Kubernetes, including logs from a crashed container or from many Pods at once?

Canonical: https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-logs-tailing
Last updated: 2026-11-28

Difficulty: Beginner

## Question

How do you view and stream the logs of a Pod in Kubernetes, including logs from a crashed container or from many Pods at once?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

kubectl logs, Streaming, Previous Container, Multi-container Pods, Log Aggregation

Previous: [Kubeconfig Contexts](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-context-switching) · Next: [Executing in Pod](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-exec-shell) · [All of Kubernetes & Orchestration](https://www.internhack.in/learn/interview/kubernetes-orchestration)

## More Kubernetes & Orchestration questions

- [Node Maintenance](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-drain-node)
- [Static Pods](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-static-pods)
- [Service Discovery](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-service-discovery)
- [Init Containers](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-init-containers)
- [Soft vs. Hard Affinity](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-affinity-soft-hard)
- [Metrics Server](https://www.internhack.in/learn/interview/kubernetes-orchestration/k8s-metric-server-role)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Kubernetes & Orchestration](https://www.internhack.in/learn/interview/kubernetes-orchestration)
