You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifying a `pullPolicy` be supported in the same way as for the existing
345
-
`imagePullPolicy`API.
346
+
##### Pull Policy
347
+
348
+
While the `imagePullPolicy` is working on container level, the introduced
349
+
`pullPolicy`is a pod level construct. This means that we can support the same
350
+
values `IfNotPresent`, `Always` and `Never`, but will only pull once per pod.
351
+
352
+
This means we need to pull in [`SyncPod`](https://github.com/kubernetes/kubernetes/blob/b498eb9/pkg/kubelet/kuberuntime/kuberuntime_manager.go#L1049)
353
+
for OCI objects on a pod level and not during [`EnsureImageExists`](https://github.com/kubernetes/kubernetes/blob/b498eb9/pkg/kubelet/images/image_manager.go#L102)
354
+
before the container gets started.
355
+
356
+
##### Registry authentication
346
357
347
358
For registry authentication purposes the same logic will be used as for the
0 commit comments