<p>The pod yaml is this:</p>
<pre><code>apiVersion: v1
kind: Pod
metadata:
  labels:
    app: front
  name: front
spec:
  containers:
  - image: nginx
    name: front
    command:
    - /bin/sh
    - -c
    - while true; echo date; sleep 2; done #suspect the bug is i forgot to add &quot;do&quot; before echo
</code></pre>
<p>describing pod does not help much. Events section only shows just 'crashloopbackoff' or error.</p>
<p>HOw to see exactly the root cause error?</p>

ERJAN
<p>You will want to see the logs of the pod:</p>
<p><code>kubectl logs front</code></p>
<p>or</p>
<p><code>kubectl logs -f front</code></p>
<p>if you want to follow the logs as they appear</p>
