siderolabs / kubelet

This is a repo for our docker image of the kubelet binary.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

commented

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)