Skip to content

KEP-6053: Kubelet Image Garbage Collection Observability#6054

Open
mattsu2020 wants to merge 1 commit intokubernetes:masterfrom
mattsu2020:kep-6053-image-gc-observability
Open

KEP-6053: Kubelet Image Garbage Collection Observability#6054
mattsu2020 wants to merge 1 commit intokubernetes:masterfrom
mattsu2020:kep-6053-image-gc-observability

Conversation

@mattsu2020
Copy link
Copy Markdown

What changed

Adds a new SIG Node KEP for improving kubelet Image Garbage Collection observability.

The KEP proposes low-cardinality kubelet metrics for Image GC attempts, duration, reclaim targets, estimated reclaimed bytes, image deletion outcomes, skipped images, image filesystem usage, and failure/no-op outcomes.

Why this is needed

Kubelet currently exposes kubelet_image_garbage_collected_total{reason}, which only counts successfully removed images. Operators cannot reliably tell whether Image GC is running, failing, doing no work, running slowly, or reclaiming less space than requested without inspecting kubelet logs node by node.

Notes

This proposal is passive observability only. It does not change Image GC policy, kubelet configuration, Kubernetes APIs, CRI APIs, pod behavior, or eviction behavior.

Validation

  • make update-toc
  • make verify-toc
  • make verify-metadata

@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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels May 1, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

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

Details 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 requested a review from dchen1107 May 1, 2026 12:18
@k8s-ci-robot k8s-ci-robot added the kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory label May 1, 2026
@k8s-ci-robot k8s-ci-robot added sig/node Categorizes an issue or PR as relevant to SIG Node. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 1, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

Hi @mattsu2020. 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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label May 1, 2026
@mattsu2020 mattsu2020 marked this pull request as ready for review May 1, 2026 12:18
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 1, 2026
@k8s-ci-robot k8s-ci-robot requested a review from mrunalp May 1, 2026 12:19
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. kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. sig/node Categorizes an issue or PR as relevant to SIG Node. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants