title: What is the difference between always and on failure for kubernetes restart policy?
body: <p>The best source for restart policies in Kubernetes I have found is this:</p>
  
  <p><a href="http://kubernetes.io/docs/user-guide/pods/multi-container/#restartpolicy" rel="noreferrer">http://kubernetes.io/docs/user-guide/pods/multi-container/#restartpolicy</a></p>
  
  <p>But it only lists the possible <code>restartPolicy</code> values and does not explain them.</p>
  
  <p>What is the difference between <code>Always</code> and <code>OnFailure</code>? Mustn't the thing fail before it can be restarted?</p>