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