-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better docs for garbage collection #4322
Comments
/cc @steveperry-53 for visibility |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Adding the help-wanted label as well, since it has /help |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In 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. |
/reopen |
@rskrishnar: You can't reopen an issue/PR unless you authored it or you are a collaborator. In 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. |
@zacharysarah Is this still needed ?. I want to work on this. |
@rskrishnar Great--feel free to create a PR! /reopen |
@zacharysarah: Reopened this issue. In 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. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In 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. |
/lifecycle frozen This is an important topic to cover |
/assign @nelvadas |
/kind feature |
Hey guys is anyone working on this? |
We should move https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ to a new home. The other pages in this section are about resources you can create to manage a workload (eg CronJob, Deployment). |
/triage accepted |
/assign |
Doc plan is here @sftim @zacharysarah please review, leave comments, and LGTM when ready or add other reviewers. Let's get the scope sorted before I dive into content :) |
Maybe something to bring up in the SIG Docs Slack channel and / or during a SIG weekly meeting? |
CC: @jimangel |
Draft content for the concept topic is here, with questions: https://docs.google.com/document/d/1fEzX14PQy8jpvgAmx-Qkdd9R-2XMV8YRjRPJ1dLuoSU/edit?usp=sharing |
@shannonxtreme that looks like a great starting point - feel free to open a pull request |
@shannonxtreme - I have given some review comments. Kindly do the changes if it inches the docs ahead. |
Noticed! I wish we could call it Waste Management, lol. Thank you for the reviews! Feel free to review the PR as well and give feedback. |
What inspired me was dependent cleanup for resources, in PV/PVCs came across retain, reclaim and recycle (Deprecated). :) |
This is a...
Problem
K8s docs discuss garbage collection in different articles:
Multiple topics show little to no awareness of each other.
Descriptions of garbage collection sometimes conflict.
No single article fully describes garbage collection as a concept or comprehensively demonstrates its implementation.
There is currently no task for garbage collection: only two concept articles and some incidental reference material.
Proposed Solution
See Additional information for more details about conceptual content.
Explain garbage collection in Kubernetes as a whole: what it is; why and how different components (kubelet, kube-controller-manager) handle it separately; and interactions and dependencies between components' garbage collection functions.
Provide an end-to-end description of garbage collection in a typical production environment.
Explain how to set up garbage collection in a typical production environment:
- Which components to configure, and in what order, for default function
- How to assess the health of garbage collection for a pod
Pages to update
Additional information
Different aspects of garbage collection appear to be handled by kubelet and kube-controller-manager. It's unclear from the documentation whether these components' garbage collection functions interact and the extent to which their functions are interdependent.
It's unclear which garbage control functions are available in which versions of Kubernetes:
"Note: Garbage collection is a beta feature and is enabled by default in Kubernetes version 1.4 and later."
Different topics' descriptions of garbage collection don't match:
Some of the most helpful material for understanding garbage collection mentions it only incidentally:
Multiple topics break the style guide by making statements about the future:
The text was updated successfully, but these errors were encountered: