Clement
Clement

Reputation: 4811

Kubernetes Disk Pressure warning when 10GB Allocated to boot disk per node

Just wondering how I can allocate storage to a node, because despite my terraform config specifying 10GB of SSD space for boot, it says there is 0 bytes allocatable to storage. This is causing a lot of pod evictions.

enter image description here

Upvotes: 0

Views: 351

Answers (1)

FL3SH
FL3SH

Reputation: 3328

This is normal behavior, your 10GB is for docker images, system and so on. 10GB is just, not enough for all required components, 15GB should be sufficient but I strongly recommend using at least 25GB.

For storage allocation, you should use pv, node storage is only used when you set emptydir as volumes.

Upvotes: 2

Related Questions