-
Notifications
You must be signed in to change notification settings - Fork 40.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
[Client-gen] Replace client with clientset in kubelet and pkg/admission #20452
[Client-gen] Replace client with clientset in kubelet and pkg/admission #20452
Conversation
Labelling this PR as size/XXL |
GCE e2e build/test failed for commit 3d25469fd708f43ac546d9b5b68fef6d22a4b7e8. |
GCE e2e build/test failed for commit 5f7481706c8eaa246da042e4942c3a310b72a0d9. |
PR needs rebase |
5f74817
to
0b50135
Compare
GCE e2e test build/test passed for commit 0b50135109f37a962115544e4eeb96c8842e18d8. |
A flake:
|
@caesarxuchao an issue is required for any manual rebuild. Expecting comment of the form 'github issue: #' |
GCE e2e test build/test passed for commit 0b50135109f37a962115544e4eeb96c8842e18d8. |
} | ||
clientset.ExtensionsClient, err = extensions_unversioned.NewForConfig(c) | ||
if err != nil { | ||
return nil, err | ||
return &clientset, err |
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.
We let caller of this function to decide if to fail on error, because it's possible that Extensions
are disabled through KUBE_API_VERSIONS, but the user still wants to use other groups' clients of the clientset.
GCE e2e build/test failed for commit bde0336b38cf78fd69db96387b9bb414045fabe5. |
Not sure if e2e is a flake:
|
@caesarxuchao you must link to the test flake issue when requesting a manual test. |
GCE e2e build/test failed for commit bde0336b38cf78fd69db96387b9bb414045fabe5. |
GCE e2e test build/test passed for commit bde0336b38cf78fd69db96387b9bb414045fabe5. |
@lavalamp all tests passed, it's ready for review. Thanks! |
Just some nits. |
bde0336
to
cddd7b5
Compare
I've addressed all the comments and squashed the commits. Self applying the LGTM. Thanks. |
Increase the priority to see if it gets merged more quickly... |
GCE e2e test build/test passed for commit cddd7b5. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e test build/test passed for commit cddd7b5. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e test build/test passed for commit cddd7b5. |
Automatic merge from submit-queue |
Auto commit by PR queue bot
@@ -173,7 +175,7 @@ type SchedulerServer struct { | |||
conntrackTCPTimeoutEstablished int | |||
|
|||
executable string // path to the binary running this service | |||
client *client.Client | |||
client *clientset.Clientset |
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 change broke event sending from our scheduler: #20783
UPSTREAM 64896: kubectl: wait for all errors and successes on podEviction Origin-commit: 55f97bfa79891e6dd5a3aaa41b794842328f6e31
UPSTREAM 64896: kubectl: wait for all errors and successes on podEviction Origin-commit: 55f97bfa79891e6dd5a3aaa41b794842328f6e31
Depends on #20427.
This change is