title: How can we setup kubernetes to automatically change containers when a new one is pushed?
body: <p>I'm using google cloud to store my <strong>Docker</strong> images &amp; host my <strong>kubernetes</strong> cluster. I'm wondering how I can have <strong>kubernetes</strong> pull down the container which has the <strong>latest</strong> tag each time a new one is pushed.</p>
  
  <p>I thought <strong>imagePullPolicy</strong> was the way to go, but it doesn't seem to be doing the job (I may be missing something). Here is my container spec:</p>
  
  <pre><code>"name": "blah",
  "image": "gcr.io/project-id/container-name:latest",
  "imagePullPolicy": "Always",
  "env": [...]
  </code></pre>
  
  <p>At the moment I'm having to delete and recreate the deployments when I upload a new docker image.</p>