Repository navigation
system:kube-scheduler: extend the RBAC with pods/finalizers - #123512
k8s-ci-robot merged 1 commit into
Conversation
|
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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. |
|
/retest-required |
|
/lgtm |
|
LGTM label has been added. DetailsGit tree hash: 8d0f879e2c31b46783b3a5c736e9975b571e4981 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ingvagabund, liggitt 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 |
|
/hold |
|
I missed this one. |
When enabling DynamicResourceAllocation the dynamicresource plugin may error during scheduling with: ``` E0212 08:57:53.817268 1 framework.go:1323] "Plugin failed" err="podschedulingcontexts.resource.k8s.io \"pod\" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>" plugin="DynamicResources" pod="gpu-test2/pod" ```
fe08498 to
0045ef5
Compare
|
/hold cancel |
|
/lgtm |
|
LGTM label has been added. DetailsGit tree hash: 9837b57548fa80bb2b17fe332c66a5c3fe189def |
|
/retest-required |
…eduler-rbac-dra-pod-finalizers system:kube-scheduler: extend the RBAC with pods/finalizers
What type of PR is this?
/kind bug
What this PR does / why we need it:
When enabling DynamicResourceAllocation the dynamicresource plugin may error during scheduling with:
After extending
system:kube-schedulerwith:the error is gone and the pod gets successfully scheduled.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
For the
PodSchedulingContextownership.Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: