<p>Apply the following YAML file into a Kubernetes cluster:</p>
<pre><code>apiVersion: v1
kind: Pod
metadata:
  name: freebox
spec:
  containers:
  - name: busybox
    image: busybox:latest
    imagePullPolicy: IfNotPresent
</code></pre>
<p>Could the status be &quot;Running&quot; if I run <code>kubectl get pod freebox</code>? Why?</p>

qqwenwenti
<p>the busybox image need to run a command for running.</p>
<p>add the command in the .spec.containers section under the busybox container</p>
<pre><code>apiVersion: v1
kind: Pod
metadata:
  name: freebox
spec:
  containers:
  - name: busybox
    command:
    - sleep
    - 4800
    image: busybox:latest
    imagePullPolicy: IfNotPresent
</code></pre>
