-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Describe the bug
When the imageScans
feature is enabled in K9s, the application generates an excessive amount of disk write I/O. Additionally, disk usage continues to grow over time without stabilizing. It appears that Docker image storage is also increasing significantly during this time.
On top of that, CPU usage is abnormally high even when K9s is idle or running in the background.
To Reproduce
Steps to reproduce the behavior:
- Install WSL 2 on windows.
- Enable the imageScans feature in the K9s configuration file.
- Start K9s in a cluster.
- Observe that disk write I/O and CPU activity becomes very high, the disk usage continues to grow over time.
Expected behavior
Does the imageScans feature automatically download Docker images in the background ? The size of Docker images on disk keeps growing unexpectedly while this feature is enabled.
Screenshots
3 minutes after starting k9s with imageScans
:
Versions:
- OS: WSL Version: 2.6.0.0, Kernel Version: 6.6.87.2-1, WSLg Version: 1.0.66, Windows Version: 10.0.22631.5624
- K9s: v0.32.5
- K8s: v1.28.15
Additional context
Docker disk usage before:
docker system df
TYPE TOTAL ACTIVE SIZE RECLAIMABLE
Images 22 22 9.112GB 834MB (9%)
Containers 30 24 140.7MB 0B (0%)
Local Volumes 1823 18 30.81GB 30.71GB (99%)
Build Cache 100 0 1.522GB 1.522GB
Docker disk usage after 3 minutes:
docker system df
TYPE TOTAL ACTIVE SIZE RECLAIMABLE
Images 33 22 13.82GB 5.543GB (40%)
Containers 30 24 140.8MB 0B (0%)
Local Volumes 1823 18 30.81GB 30.71GB (99%)
Build Cache 100 0 1.522GB 1.522GB