Pod going to evicted state when running npm install

3/13/2019

I have an azure agent pod that receives commands from Azure DevOps pipeline and execute those commands to build and deploy my projects. One of my projects is an Angular project and when executing "npm install" to download the dependencies, the pod goes to Evicted state. The message on openshift is: The node was low on resource: ephemeral-storage. Container microsoft-vsts-agent was using 361715Ki, which exceeds its request of 0.

Pod when running npm install

Error message

How can I solve it? I really appreciate any help. Thanks

-- Ranieri Mazili
docker
kubernetes
openshift

1 Answer

3/14/2019

The message says:

The node was low on resource ephemeral-storage.

This node (brtbdvops002.devbtb) run out of the disk spaces that is used to host pods.

-- ccshih
Source: StackOverflow