-
Notifications
You must be signed in to change notification settings - Fork 40.7k
disable terminatingReplicas reconciliation in ReplicationController #131822
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
disable terminatingReplicas reconciliation in ReplicationController #131822
Conversation
/priority important-soon |
/assign @liggitt |
5f0476a
to
5d35202
Compare
5d35202
to
c9a4782
Compare
pkg/apis/core/v1/conversion_test.go
Outdated
@@ -319,6 +319,8 @@ func TestReplicationControllerConversion(t *testing.T) { | |||
t.Errorf("can't convert RC to RS: %v", err) | |||
continue | |||
} | |||
// fill in new fields that should not exist in a ReplicationController, but do exist in a ReplicaSet | |||
apiObjectFuzzer.FillNoCustom(&rs.Status.TerminatingReplicas) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what this is demonstrating or catching ... the issue wasn't in conversion, it was in controller logic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was trying to improve the fuzzing that you have mentioned in #128546 (comment) and this was the only improvement that I could think of.
Ok, never mind, I have removed this commit.
c9a4782
to
b7d16fe
Compare
flake |
/lgtm |
LGTM label has been added. Git tree hash: faf37cb98edc335354d560ad5654e815986fc6cf
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: atiratree, liggitt The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind bug
What this PR does / why we need it:
disable terminatingReplicas reconciliation in ReplicationController
Which issue(s) this PR fixes:
Fixes #131821
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: