Skip to content
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

[EKS] [Feature Request]: EKS Optimized AMI has very low open-files ulimit #207

Closed
trimbleAdam opened this issue Mar 11, 2019 · 3 comments
Closed
Labels
Proposed Community submitted issue

Comments

@trimbleAdam
Copy link

Tell us about your request
Update EKS optimized AMI ulimits nofile should be far greater than what is currently set. (1024 for system ulimit, and 8192 for Docker). These limits are rather weak, as for a normal ElasticSearch deployment the pods won't even start if nofiles < 65536.

Which service(s) is this request for?
EKS

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
In this case, I am trying to release elasticsearch. In the old KOPS cluster, the default limits were set much higher than in this case.

Are you currently working around this issue?
To work around the issue, I have to add userdata which manually changes ulimits in /etc/security/limits.conf for system-wide limits, and update /etc/docker/daemon.json to set limits for Docker.

@trimbleAdam trimbleAdam added the Proposed Community submitted issue label Mar 11, 2019
@kamirendawkins
Copy link

I think this will be solved by awslabs/amazon-eks-ami#206

@rtkgjacobs
Copy link

rtkgjacobs commented Mar 12, 2019

Some deployments will also modify this per container / pod. This helm chart uses an init container to do this w/ Elasticsearch on K8s. I assume this approach below steps around the above issue until its corrected in future AMI's by default?

https://github.com/helm/charts/blob/master/stable/elasticsearch/templates/data-statefulset.yaml#L77

EDIT - wait sorry, I mixed up the setting meaning, ignore this comment above.

@trimbleAdam
Copy link
Author

Closing as dupe of awslabs/amazon-eks-ami#206

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Proposed Community submitted issue
Projects
None yet
Development

No branches or pull requests

3 participants