-
Notifications
You must be signed in to change notification settings - Fork 39.3k
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
e2e/framework: remove imports to pkg/master/ports #89192
e2e/framework: remove imports to pkg/master/ports #89192
Conversation
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
// insecureSchedulerPort is the default port for the scheduler status server. | ||
// May be overridden by a flag at startup. | ||
// Deprecated: use the secure KubeSchedulerPort instead. | ||
insecureSchedulerPort = 10251 |
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.
can't use constants in test/e2e/framework/ports.go
due to cyclical imports to test/e2e/framework
:(
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.
ack, i was hoping that one day the component ports and similar constants can be exported to a repository somewhere.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andrewsykim 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 |
/assign @alejandrox1 @oomichi |
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
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.
Thanks for doing this.
/lgtm
@@ -0,0 +1,33 @@ | |||
/* |
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 wondering we could define this file as e2e sub framework.
But that would make invalid dependency from core framework to the sub framework because test/e2e/framework/resource_usage_gatherer.go and util.go are using already.
So it is fine to merge as this PR.
/retest |
Signed-off-by: Andrew Sy Kim kim.andrewsy@gmail.com
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Removes imports to
pkg/master/ports
as part of staging the e2e framework.Which issue(s) this PR fixes:
Part of #74352
Special notes for your reviewer:
Due to cyclical imports in
test/e2e/framework
<->test/e2e/framework/metrics
(see #81245), I had to duplicate some port values in two places.Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: