-
Notifications
You must be signed in to change notification settings - Fork 1.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
Local Ephemeral Storage Capacity Isolation #361
Comments
@jingxu97 @kubernetes/sig-storage-feature-requests any updates for 1.8? Is this feature still on track for the release? |
This feature is on track for 1.8. Details is here #43607 |
We intend to move local ephemeral storage to beta in 1.10. |
@jingxu97 it looks as though docs need updating for 1.10. Can you please submit a docs PR as soon as possible (it's now officially late), and update the 1.10 feature tracking spreadsheet? Thanks! |
Hi Jennifer,
I submitted the PR kubernetes/website#7614, but I
could not edit the spreadsheet. Could you please help me check it? Thanks!
Best,
Jing
…On Fri, Mar 2, 2018 at 12:47 PM, Jennifer Rondeau ***@***.***> wrote:
@jingxu97 <https://github.com/jingxu97> it looks as though docs need
updating for 1.10. Can you please submit a docs PR as soon as possible
(it's now officially late), and update the 1.10 feature tracking
spreadsheet
<https://docs.google.com/spreadsheets/d/17bZrKTk8dOx5nomLrD1-93uBfajK5JS-v1o-nCLJmzE/edit#gid=0>?
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#361 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ASSNxQeScFENfuXNtUh9ctkN6reg_PWzks5taa_hgaJpZM4OkMYE>
.
--
- Jing
|
Hi @jingxu97 -- Thanks for the docs PR. The spreadsheet is updated. Please note that you need to rebase your docs PR against the 1.10 docs branch -- we branch docs differently from the code repos. Thanks again! Jennifer |
@warmchang, for beta version, it will be the same as alpha which only applies for the root partition. We currently don't plan to support other runtime partition due to the complexity. Could you please let me know what user case you need it for different partitions? Thanks! |
@jingxu97 I checked the original proposal local-storage-overview, it include the "Runtime Patition" description. One scenario: |
@warmchang the runtime partition still has the same support it has had in the past. The kubelet will monitor the runtime partition, and perform evictions if space runs low based on the highest consumers of the runtime partition. In your example, I'm not sure why using a cloud disk requires you to split the kubelet's and the runtime's partitions. |
@dashpole Before this Local Ephemeral Storage features, because the container writable layer unlimited write temporary files (such as logs) lead to full disk, resulting in the operating system hang, in order to prevent this behavior, we mount a Separate partition for Docker Root Dir. We try the feature by this scenario, and found that it can not limit the capacity of container. From a technical point of view, what is the difference between the capacity limits of the runtime partition and the root partition? Thanks! |
The behavior you describe should work regardless of this feature. Make sure you have --root-dir set correctly. Docker reports its root directory to the kubelet, so as long as your images are stored on the same partition that contains |
@dashpole Very useful skill! After verification (ping @zhangxiaoyu-zidif ), the expected effect can be achieved. 👏👏
|
that's great for us. thanks for your help =) @dashpole |
@jingxu97 @vishh If so, can you please ensure the feature is up-to-date with the appropriate:
cc @idvoretskyi |
Hello @jingxu97 👋 Checking in once more as we approach 1.25 code freeze at 01:00 UTC on Wednesday, 3rd August 2022. Please ensure the following items are completed:
I was unable to find out any k/k PRs promoting KEP 361 to stable. Could you please point me,if any related PRs are currently open or confirm if they're yet to be raised? The status of the enhancement is currently marked as Please also update the issue description with the relevant links for tracking purpose. Thank you so much! |
I'm not aware of any production offerings, but so far all tools I've found that run Kubernetes rootless require opting out of LocalStorageCapacityIsolation feature gate, more can be found with https://grep.app/search?q=LocalStorageCapacityIsolation https://github.com/podenv/silverkube https://github.com/saschagrunert/kubernix https://github.com/rootless-containers/usernetes/ canonical/microk8s#1587 (comment)
I think this makes sense. It can be a kubelet config field.
I feel like it might be concerning if it turns off automatically and admins are not aware that isolation is not be respected? Unless there's a status on the pod or something this might be difficult to track down when isolation is being ignored by automatic disablement. |
Hi @jingxu97 👋🏽 I’m one of the 1.25 Release Comms Shadow, Thanks for submitting this KEP for a Feature Blog. We have the code freeze upcoming and need to have a placeholder PR up already. Once you have it up, leave a comment on here (or slack me, and I will add it to the tracking sheet) Let me know if you have any questions or if I can assist in any way :) |
Hi @AnaMMedina21 thank you for the reminder. |
@jingxu97 Awesome, Thank you! Just updated our tracking document |
Hello @jingxu97 👋 Just a gentle reminder from the enhancement team as we approach 1.25 code freeze at 01:00 UTC on Wednesday, 3rd August 2022 (which is almost 2 days from now) Please plan to have the open k/k PR merged before then: The status of this enhancement is currently marked as Thank you |
the PR to promote GA kubernetes/kubernetes#111513 got approval and lgtm already |
kubernetes/kubernetes#111513 merged (thanks @jingxu97 !) I've sent a heads up to each of the projects i've identified that will need to migrate, besides the release note. |
Great thanks for @BenTheElder on helping it!
|
Hey there @jingxu97 👋, 1.25 Release Docs Shadow here! This enhancement is still marked as ‘Needs Docs’ for 1.25 release. Tomorrow (August 4th) is the deadline for opening a placeholder PR against dev-1.25 branch in the k/website repo. Please follow the steps detailed in the documentation to open the PR. This PR can be just a placeholder at this for now, as final docs PRs are due August 9th. For more info, take a look at Documenting for a release to familiarize yourself with the docs requirement for the release. |
The PR is kubernetes/website#35687 |
Hi @jingxu97 The blog PR needs to be made against k/website . An example of a blog post can be seen on kubernetes/website#33979. Let me know if you have any questions, and I'm happy to help! |
Hi @jingxu97! Just wanted to ping you again about the PR for the feature blog post. Let me know if you have any questions/I can assist! |
I posted a new PR for doc change due to some issue with my old one. kubernetes/website#35989 |
@AnaMMedina21 blog PR is created kubernetes/website#36025 |
Same problem here, May I create a soft link to /var/lib/docker? kubectl drain node
systemctl stop kubelet
systemctl stop docker
mv /var/lib/docker /var/lib/docker.bak
ln -sv /opt/docker /var/lib/docker Or link ln -sv /opt/kubelet /var/lib/kubelet |
This is GA. Closing this issue. |
Feature Description
The text was updated successfully, but these errors were encountered: