senthilrch / kube-fledged

A kubernetes operator for creating and managing a cache of container images directly on the cluster worker nodes, so application pods start almost instantly
Apache License 2.0
1.24k stars 118 forks source link

[FR] Allow to define containerd.sock path #171

Closed bkupidura closed 1 year ago

bkupidura commented 2 years ago

Currently containerd.sock path is hardcoded (/run/containerd/containerd.sock).

This will cause image cleanup Job to faild everytime on environments with different path (e.g. k3s).

containerd.sock is located in /run/k3s/containerd/containerd.sock for k3s, probably other locations are also possible with different k8s distributions.