title: Kubernetes : deployment failed to rollout even after pod ready status is true
body: <p>I'm trying to deploy one of my application using circleCI workflows in following steps:</p>
  
  <ul>
  <li>setup environment</li>
  <li>build</li>
  <li>Unit test</li>
  <li>Integration test</li>
  <li>Deploy</li>
  </ul>
  
  <p>whenever my integration test takes around 7-8 mins, I'm getting timeout error on circleCI console.</p>
  
  <pre><code>deployment.extensions/demo-app created
  Waiting for deployment "demo-app" rollout to finish: 0 out of 1 new replicas have been updated...
  Waiting for deployment "demo-app" rollout to finish: 0 of 1 updated replicas are available...
  Too long with no output (exceeded 10m0s)
  </code></pre>
  
  <p>Seems like there is some problem in rollout status command or it is not able to detect that my test has been finished and pod is in ready state.</p>
  
  <p>I've checked the output of <code>kubectl describe pod</code> command as well and it is showing me the pod status is ready.</p>
  
  <p>I've already tried increasing <code>no_output_timeout</code> in circleCI config but didn't work.</p>
  
  <p>I've also tried changing readiness probe parameters' value according to time taken by integration test but still it finished with timeout.
  Current values for readiness probe:</p>
  
  <pre><code>readinessProbe:
      exec:
          command:
              - cat
              - /test/result
      initialDelaySeconds: 10
      periodSeconds: 10
      failureThreshold: 60
  </code></pre>
  
  <p><strong>When I re-run the circleCI build after reducing number of integration tests, it is working fine.</strong></p>
  
  <p>Please let me know the probable cause for this as I'm totally novice with deployment and kubernetes things.</p>
  
  <p>I'm using <code>Kubernetes v1.5.2</code></p>