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