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
Move funcs of node_util to cloud/gcp. #84412
Move funcs of node_util to cloud/gcp. #84412
Conversation
Hi @jfbai. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
test/e2e/framework/util.go
Outdated
@@ -74,6 +74,7 @@ import ( | |||
"k8s.io/kubernetes/pkg/controller" | |||
"k8s.io/kubernetes/pkg/master/ports" | |||
taintutils "k8s.io/kubernetes/pkg/util/taints" | |||
e2ecloudgcp "k8s.io/kubernetes/test/e2e/cloud/gcp" |
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.
Please don't import outside of e2e framework in k/k from e2e framework.
That is an invalid dependency.
/assign @andrewsykim |
return nil | ||
} | ||
|
||
func masterUpgradeKubernetesAnywhere(v string) error { |
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.
This doesn't seem GCP specific?
@oomichi Hi, there is a function named |
bc4b163
to
9fc7ae8
Compare
@oomichi I moved only |
9fc7ae8
to
36b0e9c
Compare
36b0e9c
to
e9345ae
Compare
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
/approve
@@ -281,43 +281,6 @@ func nodePoolsGKE() ([]string, error) { | |||
return strings.Fields(stdout), nil | |||
} | |||
|
|||
// MigTemplate (GCE-only) returns the name of the MIG template that the | |||
// nodes of the cluster use. | |||
func MigTemplate() (string, error) { |
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.
confirmed this function can be removed since not used at all from https://cs.k8s.io/?q=MigTemplate&i=nope&files=&repos=
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jfbai, oomichi 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 cleanup
What this PR does / why we need it:
ref: #84380
Move functions in
node_util.go
to modulecloud/gcp
.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/assigin @oomichi