Lookup ENABLE_CLIENT_GO_WATCH_LIST_ALPHA in NewReflectorWithOptions#118235
Lookup ENABLE_CLIENT_GO_WATCH_LIST_ALPHA in NewReflectorWithOptions#118235k8s-ci-robot merged 1 commit intokubernetes:masterfrom
Conversation
Signed-off-by: kkkkun <scuzk373x@gmail.com>
|
Hi @kkkkun. 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. DetailsInstructions 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. |
|
/release-note-none |
|
/assign @p0lyn0mial @wojtek-t |
|
oh, a great find. I like it because it will give us more opportunities to test the feature. In the future we should probably export the |
|
/ok-to-test |
|
/lgtm |
|
LGTM label has been added. DetailsGit tree hash: c1b45b49a4b74152c819bf0854445fc9b983e787 |
|
/assign @wojtek-t for approval |
|
@p0lyn0mial: GitHub didn't allow me to assign the following users: for, approval. Note that only kubernetes members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. DetailsIn response to this:
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. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kkkkun, wojtek-t The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/test pull-kubernetes-e2e-kind-ipv6 |
|
Should we cherry-pick to 1.27 @p0lyn0mial @wojtek-t ? |
I don't think it is necessary since this is an alpha feature. |
|
/triage accepted |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:
We should change follow codes to NewReflectorWithOptions.
Current set in https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/client-go/tools/cache/controller.go#L151. If other do not use controller, it's not work when set
ENABLE_CLIENT_GO_WATCH_LIST_ALPHA=true.we can see follow case
request of kubelet when restartPods resource still ListWatch when set
ENABLE_CLIENT_GO_WATCH_LIST_ALPHA=true, you can see https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/config/apiserver.go#L66Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: