<p>I have existing deployments in k8s, I would like to update container, I updated docker image tag (new unique id) in deployment and run:</p>
<pre><code>kubectl apply -f testdeploy.yml --namespace=myapp
</code></pre>
<p>Output is: <code>deployment.apps/fakename configured</code></p>
<p>But nothing happens.</p>
<p>When I run <code>kubectl get pods --namespace=myapp</code> I can see only one old pod with old age.</p>
<p>Sometimes is working, sometimes not, why?</p>
<p>What is wrong?</p>

nirebam368
<p>Try with adding <code>ImagePullPolicy: Always</code> as the below:</p>
<pre><code>    spec:
      containers:
      - image: &lt;YOUR_IMAGE&gt;:&lt;YOUR_TAG&gt;
        imagePullPolicy: Always
</code></pre>
