Skip to content

[COLLECTION] Pods evicted due to NodeHasDiskPressure #133

@iwilltry42

Description

@iwilltry42

About

This is some sort of "umbrella" issue to combine replies for related issues.

Issue

Pods go to evicted state...

  • after issuing the k3d import-images command several times
  • after creating some (more) pods

Related Issues (closed in favor of this one)

Closes #119 Pods go to evicted state after import an image multiple times
Closes #130 [BUG] Running out of space?

Debugging & Possible Solutions

  • we found, that in most cases a docker system prune would fix the issue (temporarily)
    • it doesn't seem to be related directly to k3s/k3d
  • possible cause: not enough disk space left on the host machine
    • on docker-for-desktop on MacOS, the host machine is the docker VM
    • it seems like kubelet's threshold for NodeHasDiskPressure is somewhere around 5% (of space left on the filesystem)
  • @viklund found, that a docker update (MacOS) fixed the issue for him

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is neededruntimeIssue with the container runtime (docker)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions