Skip to content

Commit ae0ea7f

Browse files
committed
Update proposal in KEP3542
1 parent 9b131bc commit ae0ea7f

File tree

1 file changed

+21
-2
lines changed
  • keps/sig-node/3542-cri-image-pulling-with-progress-notification

1 file changed

+21
-2
lines changed

keps/sig-node/3542-cri-image-pulling-with-progress-notification/README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ checklist items _must_ be updated for the enhancement to be released.
128128

129129
Items marked with (R) are required *prior to targeting to a milestone / release*.
130130

131-
- [ ] (R) Enhancement issue in release milestone, which links to KEP dir in [kubernetes/enhancements] (not the initial KEP PR)
131+
- [x] (R) Enhancement issue in release milestone, which links to KEP dir in [kubernetes/enhancements] (not the initial KEP PR)
132132
- [ ] (R) KEP approvers have approved the KEP status as `implementable`
133-
- [ ] (R) Design details are appropriately documented
133+
- [x] (R) Design details are appropriately documented
134134
- [ ] (R) Test plan is in place, giving consideration to SIG Architecture and SIG Testing input (including test refactors)
135135
- [ ] e2e Tests for all Beta API Operations (endpoints)
136136
- [ ] (R) Ensure GA e2e tests meet requirements for [Conformance Tests](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/conformance-tests.md)
@@ -229,6 +229,25 @@ implementation. What is the desired outcome and how do we measure success?.
229229
The "Design Details" section below is for the real
230230
nitty-gritty.
231231
-->
232+
We propose introducing new (additional, not replacing old one) API for requesting image pull,
233+
that will return stream with periodic updates sent through it to the client. The image pull
234+
request parameters will contain the type of update the client wants to receive aobut the progress:
235+
- time-based
236+
- percentage-based
237+
- size-based
238+
239+
and the frequency of the updates:
240+
- every N seconds
241+
- every N percents of total image size being downloaded
242+
- every N bytes of the total image size being downloaded
243+
respectively to the type
244+
245+
If the client did not specify the preferred notification granularity, default values can be used.
246+
247+
This will be easy to use in CRI-compliant command-line-tools as well as kubelet to monitor the
248+
progress and publish events to the Pod object
249+
250+
See design detail below.
232251

233252
### User Stories (Optional)
234253

0 commit comments

Comments
 (0)