Custom Kubectl Output with Go-template
3 min readSep 20, 2023
I have a local registry for the OpenShift Cluster. We just did some migration and retired the old registry. However some images were missed out leading to some of the Pods not running properly. The issue was not so obvious as the default image pull policy for most of the pods was set as IfNotPresent. When the pod is being refreshed the problem starts to pop out.