Skip to content

Conversation

@Rulox
Copy link
Contributor

@Rulox Rulox commented May 21, 2019

Proposed changes

After upgrading Helm charts to the ones in version 1.5.0 of the Ingress Controller, there was a problem with old rs/pods not being removed correctly.

With this fix, it is possible to use the controller.name to make sure the app selector in deployment/daemonset/service is the same and K8s will update them instead of create new ones.

Note: If using a deployment , the old replicaset will still be there after the update, however, it will have 0 pods. The reason behind it is that the Deployment who is the replicaset owner is still alive, although using a new label. It is safe to remove that replicaset as it doesn't have any pods.

@Rulox Rulox requested review from pleshakov and tellet May 21, 2019 10:37
@Rulox Rulox self-assigned this May 21, 2019
@Rulox Rulox merged commit cec4b1c into master May 22, 2019
@Rulox Rulox deleted the fix-helm-names branch May 22, 2019 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants