{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/26944","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/26944/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/26944/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/26944/events","html_url":"https://github.com/kubernetes/kubernetes/issues/26944","id":158871220,"node_id":"MDU6SXNzdWUxNTg4NzEyMjA=","number":26944,"title":"Deployment does not update when adding environment variables","user":{"login":"erez-rabih","id":813024,"node_id":"MDQ6VXNlcjgxMzAyNA==","avatar_url":"https://avatars0.githubusercontent.com/u/813024?v=4","gravatar_id":"","url":"https://api.github.com/users/erez-rabih","html_url":"https://github.com/erez-rabih","followers_url":"https://api.github.com/users/erez-rabih/followers","following_url":"https://api.github.com/users/erez-rabih/following{/other_user}","gists_url":"https://api.github.com/users/erez-rabih/gists{/gist_id}","starred_url":"https://api.github.com/users/erez-rabih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erez-rabih/subscriptions","organizations_url":"https://api.github.com/users/erez-rabih/orgs","repos_url":"https://api.github.com/users/erez-rabih/repos","events_url":"https://api.github.com/users/erez-rabih/events{/privacy}","received_events_url":"https://api.github.com/users/erez-rabih/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-06-07T08:53:21Z","updated_at":"2018-06-13T08:48:18Z","closed_at":"2016-06-08T05:52:35Z","author_association":"NONE","body":"Hi,\n\nWe're using deployments on Kubernetes version 1.2.1.\n\nIn order to update deployments we update the corresponding deployment.yml file and the run\n`kubectl apply -f deployment.yml`\n\nEverything 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.\n\nIn that case we see that a new replica set is not created and the old pods keep on running.\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/396863358","html_url":"https://github.com/kubernetes/kubernetes/issues/26944#issuecomment-396863358","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/26944","id":396863358,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Njg2MzM1OA==","user":{"login":"danielloczi","id":11349934,"node_id":"MDQ6VXNlcjExMzQ5OTM0","avatar_url":"https://avatars2.githubusercontent.com/u/11349934?v=4","gravatar_id":"","url":"https://api.github.com/users/danielloczi","html_url":"https://github.com/danielloczi","followers_url":"https://api.github.com/users/danielloczi/followers","following_url":"https://api.github.com/users/danielloczi/following{/other_user}","gists_url":"https://api.github.com/users/danielloczi/gists{/gist_id}","starred_url":"https://api.github.com/users/danielloczi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielloczi/subscriptions","organizations_url":"https://api.github.com/users/danielloczi/orgs","repos_url":"https://api.github.com/users/danielloczi/repos","events_url":"https://api.github.com/users/danielloczi/events{/privacy}","received_events_url":"https://api.github.com/users/danielloczi/received_events","type":"User","site_admin":false},"created_at":"2018-06-13T08:48:18Z","updated_at":"2018-06-13T08:48:18Z","author_association":"NONE","body":"Hi!\r\n\r\nI have a set of environment variables configured for a deployment. The deployment is applied using kubectl apply -f deployment.yaml\r\nAfter I edit the yaml file and add an extra env varibale, then apply it using the same command:\r\nkubectl apply -f deployment.yaml\r\nAfter that kubectl logs that the deployment is configured, but the pod not terminates, and the new env variable is not promoted to the pod level."}}
{"actor":{"display_login":"danielloczi"}}