-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
add bootstrap option to create a local NVMe RAID-0 for kubelet and containerd #1171
Conversation
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.
Small comments; and I think we need a user guide section about this.
26eb913
to
0273728
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.
This looks like a great addition, would it also be possible to get this logic added to Bottlerocket (it currently mounts by default)?
I would suggest changing the flag to --local-disks
and providing 3 options or raid
(this logic), mount
(mount the disks) or ignore
. This would then support using the local disk provisioner CSI when set to mount
.
I would like to get this into Bottlerocket, still need to see exactly how we can do that :)
I like the |
The Bottlerocket code to do the mount version of this was added in bottlerocket-os/bottlerocket#1173. |
ad68416
to
59b1fd5
Compare
This is most requested feature from customers who run data workloads on EKS. We are solving RAID-0 config currently using AWS Node templates in Data on EKS blueprints. |
627ca58
to
4cda971
Compare
just checking in to see if theres any ETA on when this might land? it would really simplify a lot of user data scripts out there in the wild 😅 |
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.
Few nits, but LGTM.
Ok, should be all ready to go. I did some disk tests with fio as well: c6id.4xlarge - EBS volume GP3 (20 GiB)
c6id.4xlarge - RAID-0 1 disk (900GiB)
i4i.32xlarge - RAID-0 8 disks (28TiB)
|
are there plans to include this into bottlerocket too? |
@FernandoMiguel I'm not sure about Bottlerocket. Those AMIs are owned by a separate team, but you can open a feature request if you'd like to see it there. |
would be nice to get this into eksctl. apologies if it is already but i can't find it. has been in GKE since 1.25 |
opened eksctl-io/eksctl#7341 for it |
It would be great if the Windows bootstrap supported this as well, considering how slow images are to pull and extract. I've opened aws/containers-roadmap#2360 for this. |
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Testing Done
c5d.4xlarge (1 NVMe instance storage disk)
Tested a reboot as well and observed the /mnt/kubernetes dir properly mounted and the node operates normally.
c5d.24xlarge (4 NVMe instance storage disk)
c5.4xlarge (0 NVMe instance storage disks):
See this guide for recommended testing for PRs. Some tests may not apply. Completing tests and providing additional validation steps are not required, but it is recommended and may reduce review time and time to merge.