Set pullPolicy to ifNotPresent
The default value of pullPolicy is Always
. Unless there is a reason for this, I think it should be set to IfNotPresenet
. Otherwise, every new replica when scaling would pull a new image from the registry which is time-consuming and more stress on the GitLab servers.
Currently, the Auto DevOps template sets this value to IfNotPresent so this is not that big of a deal.