-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Create garbage collection docs #28870
Conversation
@\sftim: for configuring container and image garbage collection, we already have a task for configuring kubelet using a file or in a live node. Maybe instead of a new task that duplicates some of the content, we can link to that page and to the kubeletconfiguration reference so users can build off that? |
content/en/docs/concepts/overview/working-with-objects/finalizers.md
Outdated
Show resolved
Hide resolved
✔️ Deploy Preview for kubernetes-io-main-staging ready! 🔨 Explore the source changes: b1573ad 🔍 Inspect the deploy log: https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/60edf8947cec370007e87184 😎 Browse the preview: https://deploy-preview-28870--kubernetes-io-main-staging.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More feedback
The main thing is to find a new home for the overall Garbage Collection concept. I suggest placing it within https://k8s.io/docs/concepts/architecture/ (as the last topic)
content/en/docs/concepts/overview/working-with-objects/finalizers.md
Outdated
Show resolved
Hide resolved
content/en/docs/concepts/overview/working-with-objects/owners-dependents.md
Outdated
Show resolved
Hide resolved
content/en/docs/concepts/overview/working-with-objects/owners-dependents.md
Outdated
Show resolved
Hide resolved
content/en/docs/concepts/overview/working-with-objects/owners-dependents.md
Outdated
Show resolved
Hide resolved
content/en/docs/concepts/overview/working-with-objects/owners-dependents.md
Outdated
Show resolved
Hide resolved
content/en/docs/concepts/overview/working-with-objects/owners-dependents.md
Outdated
Show resolved
Hide resolved
**Kubernetes version 1.20.x and later** | ||
|
||
Run the following command: | ||
|
||
```shell | ||
kubectl delete deployment nginx-deployment --cascade=background | ||
``` | ||
|
||
**Kubernetes versions prior to 1.20.x** | ||
|
||
Run the following command: | ||
|
||
```shell | ||
kubectl delete deployment nginx-deployment --cascade=true | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having seen the preview, I'd prefer to make this Kubernetes version choice happen in tabs, and use headings to separate the kubectl
vs. API + curl approaches.
The second tab can also refer readers to https://kubernetes.io/docs/home/supported-doc-versions/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay. Can you confirm what the actual version number is? I wasn't sure from the commit (I've added a TODO comment in the MD to remind myself to verify)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know when the change happened (I'd have to ask Google or, failing that, spelunk in the source code history for kubectl
).
content/en/docs/tasks/administer-cluster/use-cascading-deletion.md
Outdated
Show resolved
Hide resolved
376399c
to
205ffac
Compare
Running a little behind on creating tasks. I'll create the final two topics on Monday and then make sure all my TODOs are resolved. |
@shannonxtreme it'd be OK to log issues about the final 2 task pages, and then adapt this PR to leave room for those new tasks. We don't need to land all the improvements on the first go. |
@sftim Ready for review :) updated redirects as well and moved GC topic to /concepts/architecture. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This is really good work.
I've got more feedback, but if this merged as-is, it'd already be a strong improvement.
content/en/docs/concepts/overview/working-with-objects/finalizers.md
Outdated
Show resolved
Hide resolved
BTW I don't see a tracking issue for Create task for configuring kubelet GC |
LGTM Even if further SIG / WG review isn't forthcoming soon, this feels correct to me. I'd be inclined to merge it on the basis that it's going to be an overall strong improvement even if we happen to bring in a new inaccurate detail somewhere. |
/lgtm |
LGTM label has been added. Git tree hash: cbf41d945172a76ec0fbbeee5320b83a699fe63a
|
considers the following disk usage limits when making garbage collection | ||
decisions: | ||
|
||
* `HighThresholdPercent` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This and the following field names should be spelt in the way how users see it, i.e. highThresholdPercent
rather than how developers see it.
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tengqm The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
``` | ||
|
||
{{< note >}} | ||
Cross-namespace owner references are disallowed by design. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This content appears to have been lost in this rework and is critical to communicate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened #29480 to track restoring that bit
/kind refactor |
@sftim: The label(s) 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. |
/label refactor |
@sftim: The label(s) 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. |
/label refactor |
I’ve been a member for a fair bit. Reviewed, worked on, or been involved in tracking 50+ PRs. Some highlights: * kubernetes#26848 * kubernetes#27716 * kubernetes#27739 * kubernetes#28870 * kubernetes#28740 * kubernetes#28617 Search for PRs involving me: https://github.com/kubernetes/website/pulls?page=2&q=is%3Apr+involves%3Ashannonxtreme
I’ve been a member for a fair bit. Reviewed, worked on, or been involved in tracking 50+ PRs. Some highlights: * kubernetes#26848 * kubernetes#27716 * kubernetes#27739 * kubernetes#28870 * kubernetes#28740 * kubernetes#28617 Search for PRs involving me: https://github.com/kubernetes/website/pulls?page=2&q=is%3Apr+involves%3Ashannonxtreme
I’ve been a member for a fair bit. Reviewed, worked on, or been involved in tracking 50+ PRs. Some highlights: * kubernetes#26848 * kubernetes#27716 * kubernetes#27739 * kubernetes#28870 * kubernetes#28740 * kubernetes#28617 Search for PRs involving me: https://github.com/kubernetes/website/pulls?page=2&q=is%3Apr+involves%3Ashannonxtreme
I’ve been a member for a fair bit. Reviewed, worked on, or been involved in tracking 50+ PRs. Some highlights: * kubernetes#26848 * kubernetes#27716 * kubernetes#27739 * kubernetes#28870 * kubernetes#28740 * kubernetes#28617 Search for PRs involving me: https://github.com/kubernetes/website/pulls?page=2&q=is%3Apr+involves%3Ashannonxtreme
I’ve been a member for a fair bit. Reviewed, worked on, or been involved in tracking 50+ PRs. Some highlights: * kubernetes#26848 * kubernetes#27716 * kubernetes#27739 * kubernetes#28870 * kubernetes#28740 * kubernetes#28617 Search for PRs involving me: https://github.com/kubernetes/website/pulls?page=2&q=is%3Apr+involves%3Ashannonxtreme
I’ve been a member for a fair bit. Reviewed, worked on, or been involved in tracking 50+ PRs. Some highlights: * kubernetes#26848 * kubernetes#27716 * kubernetes#27739 * kubernetes#28870 * kubernetes#28740 * kubernetes#28617 Search for PRs involving me: https://github.com/kubernetes/website/pulls?page=2&q=is%3Apr+involves%3Ashannonxtreme
Fixes #4322
Replaces #28840
Overview
Consolidate and improve docs on Garbage Collection.
The following tasks should be completed before review:
/sig docs
/sig apps
/wg api-expression
/assign
/cc @sftim
/do-not-merge work-in-progress