When working with AWS EKS, we might cause with disk pressure warning when describing the “Evicted” pod (out of resource warning from aws eks).
kubectl describe pod ingress-nginx-controller-xxx -n ingress-nginx
Message: Pod The node had condition: [DiskPressure].
You can edit the volume size param as below (via cloudformation)
The cloudformation template above related to this template file.
After increasing the storage size of the node (~ an ec2 instance), now “Evicted” pod (DiskPressure) will disappear.
Hope this well hope who is facing with this issue on AWS EKS 😉