Jump to content

My kubernetes pods are Evicted repetitively


Recommended Posts

I have a k8s environment, where I am running 3 masters and 7 worker nodes. Daily my pods are in evicted states due to disk pressure.

I am getting the below error on my worker node.

 

Message:        The node was low on resource: ephemeral-storage.
Status:         Failed
Reason:         Evicted
Message:        Pod The node had condition: [DiskPressure].
 

But my worker node has enough resources to schedule pods.

 

Please help me resolve this issue

Link to comment
Share on other sites

It seems like your Kubernetes pods are being evicted due to disk pressure, even though your worker nodes appear to have enough resources. This can happen if the system detects low ephemeral storage and enforces eviction policies. To resolve this, you might need to adjust the eviction thresholds, clear up unused storage, or optimize your pod resource requests.


Here's a detailed guide to help fix eviction-related issues: Fix Pod Evict Error

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines