<p>I am trying to configure php phabricator example from kubernetes but after creating the replication controller. POD is not showing in ready state ever. It shows in below state:</p>

<pre><code>NAME                           READY     STATUS             RESTARTS   AGE
phabricator-controller-z0nk3   0/1       CrashLoopBackOff   5          2m
</code></pre>

<p>Below is the controller yaml:</p>

<pre><code>{
  "kind": "ReplicationController",
  "apiVersion": "v1",
  "metadata": {
    "name": "phabricator-controller",
    "labels": {
      "name": "phabricator"
    }
  },
  "spec": {
    "replicas": 1,
    "selector": {
      "name": "phabricator"
    },
    "template": {
      "metadata": {
        "labels": {
          "name": "phabricator"
        }
      },
      "spec": {
        "containers": [
          {
            "name": "phabricator",
            "image": "fgrzadkowski/example-php-phabricator",
            "ports": [
              {
                "name": "http-server",
                "containerPort": 80
              }
            ]
          }
        ]
      }
    }
  }
}
</code></pre>

<p>Can someone please suggest me how to fix this?</p>

<p>This Pod is crash-looping.  You can tell because the number of restarts is greater than zero.</p>

<pre><code>kubectl describe pods &lt;pod-name&gt;
</code></pre>

<p>Should give further details to help debug.  As will</p>

<pre><code>kubectl logs &lt;pod-name&gt;
</code></pre>
