Skip to content

Conversation

@lmktfy
Copy link
Member

@lmktfy lmktfy commented Nov 23, 2025

To find out if a Pod is terminating, you check .metadata.deletionGracePeriodSeconds. Update the ResourceQuota docs to make that clear.

Deleted Pods don't count; once the grace period has expired, either the grace period is zero or the Pod no longer exists (and therefore do not contribute to resource quota).

/language en

Submitting this as a draft.
I think the existing documentation correctly documents how Kubernetes behaves, but I also think that that behavior is wrong. See kubernetes/kubernetes#135411

To find out if a Pod is terminating, you check .metadata.deletionGracePeriodSeconds

Deleted Pods don't count; once the grace period has expired, either the grace period
is zero or the Pod no longer exists (and therefore do not contribute to resource quota).
@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. language/en Issues or PRs related to English language labels Nov 23, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign nate-double-u for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 23, 2025
@netlify
Copy link

netlify bot commented Nov 23, 2025

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit 4b6c718
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-io-main-staging/deploys/692328210c8f9e0008faa260
😎 Deploy Preview https://deploy-preview-53407--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. language/en Issues or PRs related to English language size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants