Huge kubelet image size
sergelogvinov opened this issue · comments
Hello,
We didn't notice how the size increased.
I believe that kubelet had csi in-tree a few years before.
Now most of them have out-of-tree implementation. (or removed)
Probably we need to rethink included packages in this container.
Or at least have a second tiny version of it.
# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
ghcr.io/siderolabs/kubelet v1.30.0 a200a086e32c 6 days ago 470MB
What do you think @frezbo ?
I think it was same size for a long time
I think cutting down dependencies is an interesting idea, but still even with CSI out-of-tree, kubelet supports mounting e.g. cephfs as volume mount directly iirc.
https://kubernetes.io/docs/concepts/storage/persistent-volumes/
Hm, i think only fc, iscsi are in-tree now.
https://kubernetes.io/docs/concepts/storage/persistent-volumes/
Hm, i think only fc, iscsi are in-tree now.
I think ceph too, kubelet supports mounting remote ceph fs (which i think is one of the major contributor to size)