EKS Fargate : Pod that required hostNetwork: true cannot run on Fargate
- 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**
Pod that required hostNetwork: true cannot run on Fargate because of which not able to do Dynamic persistent volume provisioning on Fargate
**Which service(s) is this request for?**
This could be Fargate EKS,
**Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?**
deploying EFS CSI driver on EKS Fargate but getting below error for efs-csi-controller deployment
Error: "Pod not supported on Fargate: fields not supported: HostNetwork, invalid SecurityContext fields: Privileged, port contains HostIP or HostPort"
**Are you currently working around this issue?**
No WA.
**Additional context**
Pod that required hostNetwork: true cannot run on Fargate. You need to install the EFS driver on EC2 node group by using a namespace not in the Fargate profile.
**Attachments**
If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)
Contributor guide
Research direction
Start by reviewing the EFS CSI driver deployment and the reported Fargate validation error for HostNetwork, Privileged, HostIP, and HostPort. Compare this with the documented EC2 node group workaround. Done would require a supported way to run the EFS CSI driver and provision dynamic persistent volumes on EKS Fargate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, kubernetes
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100