Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(kubernetes): Fix daemonset stability condition (#3863) #3865

Conversation

spinnakerbot
Copy link
Contributor

Currently we'll consider a daemonset stable if it has the correct
number of replicas, even if they are of the wrong generation. Fix
this by adding a check for the generation, just as we do for replica
sets.

Also, fix a bug in the replica set implementation where we are
comparing Integers using == instead of using .equals.

Automated cherry pick of 5c5939c into 1.15

Currently we'll consider a daemonset stable if it has the correct
number of replicas, even if they are of the wrong generation. Fix
this by adding a check for the generation, just as we do for replica
sets.

Also, fix a bug in the replica set implementation where we are
comparing Integers using == instead of using .equals.
@ezimanyi ezimanyi merged commit e26cfc1 into release-1.15.x Jul 11, 2019
@ezimanyi ezimanyi deleted the auto-cherry-pick-1.15-5c5939c77a596e0b85fb42604104e8f3b9eef989 branch July 11, 2019 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants