title: What is the difference between current and available pod replicas in kubernetes deployment?
body: <p>I am trying to get my hands dirty on Kubernetes. I am firing following command:</p>
  
  <pre><code>kubectl get deployment
  </code></pre>
  
  <p>and I get the following headers in the output:</p>
  
  <p><a href="https://i.stack.imgur.com/mX2TR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mX2TR.png" alt="kubectll get deployment"></a></p>
  
  <p>I can't find the difference between <code>current</code> and <code>available</code> columns in the following output?</p>
  
  <p>I know that official documentation gives a small description each of these fields, but it doesn't answer my following questions:</p>
  
  <ol>
  <li>Is <code>Current</code> &lt;= <code>Desired</code> true?</li>
  <li>Is <code>Up-to-Date</code> &lt;= <code>Current</code> true?</li>
  <li>Is <code>Up-to-Date</code> > <code>Current</code> and <code>Up-to-Date</code> &lt;= <code>Desired</code> true?</li>
  <li>Is <code>Available</code> always &lt;= <code>Current</code> OR it can be > <code>Available</code>?</li>
  </ol>
  
  <p>In short, what is the relation between all these fields?</p>