You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Image garbage collection is not working on workers #508
Hi, my nodes are not able to run new images after images fs overfilled:
kubectl describe pod angular-app-5cbcdcc7db-xrcrb -n default
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal BackOff 4m23s (x2385 over 9h) kubelet Back-off pulling image "registry.onayzakup.kz/frontend/angular-app:dbb507a20c2523dbf752c767f6341f0fc81cd539"
I found that Kamaji sets Kubelet configuration to disable garbage collection.
Definitely a bad choice from our side, I guess it was just a basic scaffolding since most of the time nodes are joining with a dedicated kubeadm configuration file (e.g.: Cluster API).
Wondering if you're facing this issue even tho running with Cluster API, IIRC a local configuration has precedence over the one stored in the cluster.
Activity
kvaps commentedon Aug 7, 2024
Also all of these
zeroDurationlook weird to me? Is there any reason why are they configured like so?kamaji/internal/kubeadm/uploadconfig.go
Lines 110 to 125 in 755cc5b
According to kubelet configuration, they should have default values:
https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/
fix kamaji garbage collection (#263)
prometherion commentedon Aug 7, 2024
Definitely a bad choice from our side, I guess it was just a basic scaffolding since most of the time nodes are joining with a dedicated
kubeadmconfiguration file (e.g.: Cluster API).Wondering if you're facing this issue even tho running with Cluster API, IIRC a local configuration has precedence over the one stored in the cluster.
fix kamaji garbage collection (#263)