-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Adding simple dockerd config file to rotate logs from containers #74
Conversation
Hey thanks for this PR! We'll have to vet this and get back to you |
Please do, I think it's important and there's already other users who have had issues with disk space. And I've had pods evicted due to disk pressure. I actually tried to build the AMI myself to test it but packer fails to find the source AMI. Not sure how to fix that. |
This seems like a must have in a default image. +1 from me |
I've tested the PR but as is it's not working for me, I had to add: |
OK done. |
Why can't I build the AMI myself to test it?
|
Ahh, I had to run |
Yeah I ran into that issue too... to use The other gotcha is that you can't update this variable to |
@micahhausler if you need more convincing 😉 |
@micahhausler would be great to see this released! 😸 |
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.
Thanks! We'll get this in the next release
Any eta when the image will be released? We're seeing prod issues that would be resolved by this. |
We are planning a release on Dec 5th with this patch. |
@eswarbala is there a new date for the release which includes this patch? I was hoping to use official AMIs with this issue resolved. |
Has this been released yet? |
Yes, it's in |
Ah, it looks like the version/naming convention has changed. I was waiting for an AMI called (Unrelated to this change – is it possible to have something like Subscribing to Amazon ECS-Optimized Amazon Linux AMI Update Notifications but for the EKS AMIs?) |
Still we are running manually docker system prune -a -f to remove unused images and killed containers on each worker node to avoid eviction on pods , can you please confirm if this works and how often it will remove images and containers or do we need to add any flag while creating/attaching nodes to EKS. we are using latest version of AMI |
@yrsurya this is already done by kubelet: https://kubernetes.io/docs/concepts/cluster-administration/kubelet-garbage-collection/ |
Related issue is here: #36
I myself have seen pods evicted due to disk pressure. Similar configuration is in place on other managed Kubernetes services already.