k8s-ci-robot · GitHub

@k8s-ci-robot added cncf-cla: yes

Indicates the PR's author has signed the CNCF CLA.

needs-ok-to-test

Indicates a PR that requires an org member to verify it is safe to test.

labels

Jul 10, 2017

@k8s-github-robot k8s-github-robot added size/L

Denotes a PR that changes 100-499 lines, ignoring generated files.

release-note

Denotes a PR that will be considered when it comes time to generate release notes.

labels

Jul 10, 2017

@danielfm danielfm changed the title Make NodeRestriction admission create evictions for its own pods Allow nodes to create evictions for its own pods in NodeRestriction admission controller

Jul 10, 2017

@k8s-github-robot k8s-github-robot added size/M

Denotes a PR that changes 30-99 lines, ignoring generated files.

and removed size/L

Denotes a PR that changes 100-499 lines, ignoring generated files.

labels

Jul 11, 2017

@k8s-ci-robot k8s-ci-robot added sig/auth

Categorizes an issue or PR as relevant to SIG Auth.

sig/node

Categorizes an issue or PR as relevant to SIG Node.

labels

Jul 12, 2017

liggitt

liggitt

liggitt

@k8s-github-robot k8s-github-robot added size/L

Denotes a PR that changes 100-499 lines, ignoring generated files.

and removed size/M

Denotes a PR that changes 30-99 lines, ignoring generated files.

labels

Jul 12, 2017

liggitt

liggitt

liggitt

@danielfm

@k8s-ci-robot k8s-ci-robot added the lgtm

"Looks good to me", indicates that a PR is ready to be merged.

label

Jul 23, 2017

@k8s-github-robot

@danielfm

danielfm deleted the node-restriction-pod-eviction-subresource branch

July 24, 2017 14:21

Merged

k8s-github-robot pushed a commit that referenced this pull request

Aug 4, 2017

Kubernetes Submit Queue

…7-upstream-release-1.7
Automatic merge from submit-queue
Automated cherry pick of #48707
Cherry pick of #48707 on release-1.7.
#48707: Make NodeRestriction admission allow evictions for bounded

Merged

mhan8796 pushed a commit to mhan8796/kubernetes that referenced this pull request

Jun 26, 2026

Kubernetes Submit Queue

…d-eviction-subresource
Automatic merge from submit-queue
Allow nodes to create evictions for its own pods in NodeRestriction admission controller
**What this PR does / why we need it**: This PR adds support for `pods/eviction` sub-resource to the NodeRestriction admission controller so it allows a node to evict pods bound to itself.
**Which issue this PR fixes**: fixes kubernetes#48666
**Special notes for your reviewer**: The NodeRestriction already allows nodes to delete pods bound to itself, so allowing nodes to also delete pods via the Eviction API probably makes sense.
```release-note
NodeRestriction allows a node to evict pods bound to itself
```

Read the original on github.com ↗