kubernetes error log code example
Example 1: kubernetes get pod crash logs
kubectl logs <podname> --previous
Example 2: find logs in kubernetes pods
kubectl logs elasticsearch-master-1 --since=2m --timestamps
kubectl logs <podname> --previous
kubectl logs elasticsearch-master-1 --since=2m --timestamps