kubernetes: Deployment does not update when adding environment variables

Hi,

We’re using deployments on Kubernetes version 1.2.1.

In order to update deployments we update the corresponding deployment.yml file and the run kubectl apply -f deployment.yml

Everything works well most of the time except for the case in which we add an environment variable to one of the containers on the deployment.yml.

In that case we see that a new replica set is not created and the old pods keep on running.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 19 (6 by maintainers)

Most upvoted comments

Got this now in 1.11 on a DaemonSet.