<p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.):</p>
<p dir="auto">I'm hoping that this issue will resolve the problem I'm seeing.</p>
<p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.):</p>
<p dir="auto"><code class="notranslate">deployment</code>, <code class="notranslate">replica set</code>, <code class="notranslate">OldReplicaSets</code></p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):</p>
<p dir="auto">Bug report</p>
<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;4&quot;, GitVersion:&quot;v1.4.4&quot;, GitCommit:&quot;3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2016-10-21T02:48:38Z&quot;, GoVersion:&quot;go1.7.1&quot;, Compiler:&quot;gc&quot;, Platform:&quot;darwin/amd64&quot;}
Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;4&quot;, GitVersion:&quot;v1.4.5&quot;, GitCommit:&quot;5a0a696437ad35c133c0c8493f7e9d22b0f9b81b&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2016-10-29T01:32:42Z&quot;, GoVersion:&quot;go1.6.3&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}"><pre class="notranslate"><code class="notranslate">Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.4", GitCommit:"3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56", GitTreeState:"clean", BuildDate:"2016-10-21T02:48:38Z", GoVersion:"go1.7.1", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.5", GitCommit:"5a0a696437ad35c133c0c8493f7e9d22b0f9b81b", GitTreeState:"clean", BuildDate:"2016-10-29T01:32:42Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}
</code></pre></div>
<p dir="auto"><strong>Environment</strong>:</p>
<p dir="auto">Google Container Engine</p>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">I ran <code class="notranslate">kubectl apply -f</code> as usual to apply any changes to Deployment, Service, Ingress resources. The deployment did not create a new replica set with the updated container image. Going to the Kubernetes Dashboard I can confirm that the deployment was correctly updated with the new metadata.</p>
<p dir="auto">The only difference when this issue started happening was a small code change.</p>
<p dir="auto">I've tried multiple updates since and nothing changed. The nodes were on version 1.4.0 but I've tried updating them to 1.4.5 but still the same issue is happening.</p>
<p dir="auto">The old pods are still operational and serving requests normally.</p>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto">The deployment should have created a new replica set with three pods, then rolled them out.</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p>
<p dir="auto">I don't know.</p>
<p dir="auto"><strong>Anything else do we need to know</strong>:</p>
<p dir="auto">I've attached a file with the deployment's current configuration, as well as the deploy script I use to deploy: <a href="https://github.com/kubernetes/kubernetes/files/567982/files.zip">files.zip</a></p>
<p dir="auto">Here's the output of <code class="notranslate">kubectl describe</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ kubectl describe deployment/fika-io
Name:			fika-io
Namespace:		default
CreationTimestamp:	Sun, 16 Oct 2016 10:58:42 -0400
Labels:			app=fika-io
Selector:		app=fika-io
Replicas:		3 updated | 3 total | 3 available | 0 unavailable
StrategyType:		RollingUpdate
MinReadySeconds:	0
RollingUpdateStrategy:	1 max unavailable, 1 max surge
OldReplicaSets:		fika-io-749979362 (3/3 replicas created)
NewReplicaSet:		&lt;none&gt;
No events."><pre class="notranslate"><code class="notranslate">$ kubectl describe deployment/fika-io
Name:			fika-io
Namespace:		default
CreationTimestamp:	Sun, 16 Oct 2016 10:58:42 -0400
Labels:			app=fika-io
Selector:		app=fika-io
Replicas:		3 updated | 3 total | 3 available | 0 unavailable
StrategyType:		RollingUpdate
MinReadySeconds:	0
RollingUpdateStrategy:	1 max unavailable, 1 max surge
OldReplicaSets:		fika-io-749979362 (3/3 replicas created)
NewReplicaSet:		&lt;none&gt;
No events.
</code></pre></div>
<p dir="auto">Note that there is no <code class="notranslate">NewReplicaSet</code>.</p>
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/31373/kubernetes-pull-build-test-e2e-gce/56869/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/31373/kubernetes-pull-build-test-e2e-gce/56869/</a></p>
<p dir="auto">Failed: [k8s.io] Downward API volume should provide podname only [Conformance] {Kubernetes e2e suite}</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:134
Aug 31 15:48:21.680: Couldn't delete ns: &quot;e2e-tests-downward-api-okpt6&quot;: the server could not find the requested resource
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:338"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:134
Aug 31 15:48:21.680: Couldn't delete ns: "e2e-tests-downward-api-okpt6": the server could not find the requested resource
/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:338
</code></pre></div>
<p dir="auto">Happened on a presubmit run in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="173048171" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/31373" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/31373/hovercard" href="https://github.com/kubernetes/kubernetes/pull/31373">#31373</a>.</p>