Hi i have a question about how helm and k8s handle caching docker images?
I want to know this because i use helmfile to managing releases and we run helmfile on gitlab runner. I want to somehow cache the images to help the pipline be faster. But i don’t know excatly which part is for caching the images? I must cache where the helm command run or this config should be set on k8s?
Images are not cached in any centralized location, they must be present on any node that the pods are going to be deployed (since you do not know which nodes are going to host the pods (unless you use affinity/antiaffinity or special annotations) separately. But if the imagepullpolicy is set to "if not present"; it would check to see if that particular image (with the same hash) is already present or not. so in short, the images are not cached any where but could be already present on nodes (separately)