aws / aws/containers-roadmap

[EKS] [EBS CSI Add-on]: Allow configuring node volumes and mounts for Bottlerocket support

Open
#2,438 2 comments 5 reactions 0 assignees View on GitHub
EBS EKS EKS Add-Ons Proposed
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

### Community Note

* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment

**Tell us about your request**
Add the ability to configure volumes and volume mounts for the nodes in the EBS CSI Addon. The helm chart already supports this, but not the add-on.

**Which service(s) is this request for?**
EKS EBS CSI Add-on

**Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?**
On Bottlerocket, the EBS CSI add-on struggles to mount volumes with large numbers of files in a performant manner. This is because of the SELinux configuration on Bottlerocket. Thanks to insight from the Bottlerocket team, this problem can be fixed by adjusting the EBS CSI provisioner configuration with Helm. However it is not possible to configure this workaround with the EBS CSI add-on due to limited configuration points.

**Are you currently working around this issue?**
https://github.com/bottlerocket-os/bottlerocket/issues/3151#issuecomment-1634801086 describes a workaround that can be used to solve this problem. However it requires eschewing the add-on and installing the EBS CSI provisioner with Helm.

**Additional context**
It would be even better if the EBS CSI provisioner add-on just worked on Bottlerocket as it does on AL2. If you know of a better way to achieve that, it would ideal. Having to manually add the SELinux configuration for Bottlerocket is good enough.

**Attachments**
N/A

Contributor guide

Open the contributing guide

Research direction

Start by comparing the EBS CSI Add-on configuration points with the existing Helm chart, which already supports node volumes and volume mounts. Review the Bottlerocket workaround described in the linked Bottlerocket issue. Done means the add-on can configure these volumes and mounts and supports the stated Bottlerocket SELinux workaround without requiring a separate Helm installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, helm, kubernetes
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.