-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Remove controller-manager --service-sync-period flag #59359
Conversation
/retest |
This flag was disconnected at least as far back as 1.4. I'll leave this open for a couple days in case someone can find a way it could have worked in the past year and change. Lacking that, I plan to merge on Wednesday. @khenidak please squash into two commits: one for work, one for generated. /approve |
/assign @cheftako |
if anything this flag probably belongs in the cloud controller binary rather than the main one? |
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.
/lgtm. Please make sure to clean up all of cmd/kube-controller-manager/app/options/options_test.go.
@@ -138,7 +138,6 @@ func TestAddFlags(t *testing.T) { | |||
EnableProfiling: false, | |||
CIDRAllocatorType: "CloudAllocator", | |||
NodeCIDRMaskSize: 48, | |||
ServiceSyncPeriod: metav1.Duration{Duration: 2 * time.Minute}, |
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.
Shouldn't we clean up line 103 as well? ("--service-sync-period=2m",)
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.
Yes. I am working on flushing out out of tests.
remove ServiceSyncPeriod from tests fixing tests
@deads2k squashed -- and all test passed except pull-kubernetes-unit which i believe is a false positive (please let me know if it is not). |
/test pull-kubernetes-bazel-test |
1 similar comment
/test pull-kubernetes-bazel-test |
/lgtm |
/assign @lavalamp Folks, please approve this one. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, khenidak, mikedanese 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 OWNERS Files:
Approvers can indicate their approval by writing |
/retest Review the full test history for this PR. Silence the bot with an |
/test all [submit-queue is verifying that this PR is safe to merge] |
/test pull-kubernetes-node-e2e |
the e2e is flaky I will try later tonight. |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here. |
What this PR does / why we need it:
This PR removes controller manager --service-sync-period flag which is not used anywhere in the code and is causing confusion
Which issue(s) this PR fixes
#58776
Special notes for your reviewer:
@deads2k this remove the flag as per the discussion on #58776
2 commits
Release note: