GoogleContainerTools/skaffold

Skaffold should rewrite imagePullPolicy when using a local cluster

Open

#6,992 opened on Jan 5, 2022

View on GitHub
 (3 comments) (2 reactions) (0 assignees)Go (1,416 forks)batch import
area/deployarea/localbugbash/q4-2022help wantedkind/frictionpriority/p3

Repository metrics

Stars
 (12,822 stars)
PR merge metrics
 (Avg merge 3d 6h) (16 merged PRs in 30d)

Description

When using a local cluster like minikube, where the built images are loaded directly into the cluster's container runtime, a user will encounter see a deployment failure should they specify an imagePullPolicy: Always. Skaffold should transform the manifests and either remove such pull-policies or possibly transform them to imagePullPolicy: Never.

Contributor guide