To get logs from a specific pod in Kubernetes, you can use the `kubectl logs` command. This command allows you to view the stdout and stderr from containers within the pod. For a pod named `mypod`, use the following command:
kubectl logs mypod
If your pod contains multiple containers, specify the container name:
kubectl logs mypod -c mycontainer