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
Copy file name to clipboardExpand all lines: keps/sig-node/4639-oci-volume-source/README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -215,6 +215,9 @@ Beside that, I want:
215
215
- to package this file in an OCI object to take advantage of OCI distribution.
216
216
- the image to be downloaded with the same credentials that kubelet using for other images.
217
217
- to be able to use image pull secrets when downloading the image if an image is from the registry that requires image pull secrets.
218
+
- to be able to update the configuration if the artifact is referenced by a
219
+
moving tag like `latest`. To achieve that, I just have to restart the pod and
220
+
specify a `pullPolicy` of `Always`.
218
221
219
222
#### Story 2
220
223
@@ -369,10 +372,13 @@ While the `imagePullPolicy` is working on container level, the introduced
369
372
`pullPolicy`is a pod level construct. This means that we can support the same
370
373
values `IfNotPresent`, `Always` and `Never`, but will only pull once per pod.
371
374
372
-
This means we need to pull in [`SyncPod`](https://github.com/kubernetes/kubernetes/blob/b498eb9/pkg/kubelet/kuberuntime/kuberuntime_manager.go#L1049)
375
+
Technically it means that we need to pull in [`SyncPod`](https://github.com/kubernetes/kubernetes/blob/b498eb9/pkg/kubelet/kuberuntime/kuberuntime_manager.go#L1049)
373
376
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)
374
377
before the container gets started.
375
378
379
+
If users want to re-pull artifacts when referencing moving tags like `latest`,
380
+
then they need to restart / evict the pod.
381
+
376
382
##### Registry authentication
377
383
378
384
For registry authentication purposes the same logic will be used as for the
0 commit comments