get logs on kubernetes command code example Example: kubernetes get logs from pod kubectl logs <pod-name>