aws / aws/containers-roadmap

EKS Fargate : Pod that required hostNetwork: true cannot run on Fargate

Open
#1,517 0 comments 1 reaction 0 assignees View on GitHub
EKS Fargate 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**
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.