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.26k stars 119 forks source link

Adding additional print columns #195

Closed davidcollom closed 1 year ago

davidcollom commented 1 year ago

This allows for easier debugging when performing a kubectl get imagecache such as:

$ kubectl get imagecache -A
NAMESPACE     NAME         STATUS      MESSAGE                                                            AGE
kube-fledged   XXXXXXX     Failed      Image pull failed for some images. Please see "failures" section   68m
kube-fledged   XXXXXXX     Failed      Image pull failed for some images. Please see "failures" section   69m
kube-fledged   XXXXXXX      Failed      Image pull failed for some images. Please see "failures" section   74m
kube-fledged   XXXXXXX      Succeeded   All requested images pulled succesfully to respective nodes        83m
kube-fledged   XXXXXXX      Failed      Image pull failed for some images. Please see "failures" section   81m
kube-fledged   XXXXXXX   Failed      Image pull failed for some images. Please see "failures" section   79m
kube-fledged   XXXXXXX        Succeeded   All requested images pulled succesfully to respective nodes        86m

I wasn't able to find where/when nor how you were generating the CRD's (only the Clientset and Deepcopy)