-
Notifications
You must be signed in to change notification settings - Fork 15.1k
pod-overhead: updates for beta #19059
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
Conversation
|
Deploy preview for kubernetes-io-vnext-staging processing. Building with commit 9f6ed1c https://app.netlify.com/sites/kubernetes-io-vnext-staging/deploys/5e6906a236db4c0008104ee5 |
|
/milestone 1.18 |
|
@egernst Hi 👋 please don't forget to add any technical reviewer for this docs if it's ready to be reviewed. Thanks! |
|
@irvifa - can you help identify appropriate tech reviewers (are you one?)? I have a local draft I'm cleaning up and will submit soon. |
|
Hi @egernst I'm pinging Tim and Vineeth. Nope I'm not a tech reviewer for this, you also can probably assign one of your SIG member to review your docs as well.. Hi @sftim by the way do you aware on whom should I contact for the tech reviewer cc @VineethReddy02 as well.. |
|
SIG Node is the owning SIG here, so I'd ping @kubernetes/sig-node-pr-reviews |
|
@egernst you should add a /hold if the feature graduation is not confirmed, otherwise you don't need a hold |
|
@egernst since we're close to the deadlines do you already confirm the graduation and whether this PR is ready to be reviewed? Thanks! |
|
It will be graduating, but this PR isn't ready yet. Hoping to do finalize PR this weekend. |
|
👋 Please rebase this PR on Feel free to /hold |
Signed-off-by: Eric Ernst <[email protected]>
7ab7b1d to
710355e
Compare
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.
A bit more feedback.
I don't really understand how the reader works out what do to when they see:
root@kind-worker2:~# cat /sys/fs/cgroup/memory/kubepods/podd7f4b509-cf94-4951-9417-d1087c92a5b2/memory.limit_in_bytes
|
|
||
| Verify the pod level cgroup: | ||
| ```bash | ||
| root@kind-worker2:~# cat /sys/fs/cgroup/memory/kubepods/podd7f4b509-cf94-4951-9417-d1087c92a5b2/memory.limit_in_bytes |
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 isn't valid bash code.
You could revise this along the lines of:
| root@kind-worker2:~# cat /sys/fs/cgroup/memory/kubepods/podd7f4b509-cf94-4951-9417-d1087c92a5b2/memory.limit_in_bytes | |
| # Run this inside the node where the Pod is scheduled | |
| # | |
| # Also, change the name of the cgroup to match the cgroup that your container runtime allocated | |
| cat /sys/fs/cgroup/memory/kubepods/podd7f4b509-cf94-4951-9417-d1087c92a5b2/memory.limit_in_bytes |
something like that?
e867203 to
af088e0
Compare
|
Thanks @sftim. I reworded the "on the node" portion - let me know if this makes more sense. |
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.
Nice, thank you @egernst
/lgtm
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.
Thanks! Just a few minor suggestions.
| After the RuntimeClass admission controller, you can check the updated PodSpec: | ||
|
|
||
| ```bash | ||
| kubectl get pod test-pod -o jsonpath='{.spec.overhead}' |
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.
Is pod overhead included in the output of kubectl describe? If so, that might be a more user-friendly way of checking
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.
It is not part of kubectl describe.
af088e0 to
b08c3ab
Compare
|
Great suggestions; thanks @tallclair Updated ya'll - PTAL. |
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.
Looks good to me; one nit.
b08c3ab to
d357eca
Compare
Signed-off-by: Eric Ernst <[email protected]>
d357eca to
9f6ed1c
Compare
|
Updated @sftim PTAL |
|
Hi @egernst Thanks! |
|
@tallclair @sftim -- thanks for the reviews and great feedback. Can you help take one more pass? |
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
Thanks!
|
/approve |
|
/assign @sftim |
|
/assign @VineethReddy02 |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: derekwaynecarr, VineethReddy02 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 |
Pull Request for updating PodOverhead documentation for 1.18, beta.