Skip to content

Commit 6fbd6e8

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

File tree

1 file changed

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

1 file changed

+20
-2
lines changed

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

Lines changed: 20 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,24 @@ 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+
and the frequency of the updates:
239+
- every N seconds
240+
- every N percents of total image size being downloaded
241+
- every N bytes of the total image size being downloaded
242+
respectively to the type
243+
244+
If the client did not specify the preferred notification granularity, default values can be used.
245+
246+
This will be easy to use in CRI-compliant command-line-tools as well as kubelet to monitor the
247+
progress and publish events to the Pod object
248+
249+
See design detail below.
232250

233251
### User Stories (Optional)
234252

0 commit comments

Comments
 (0)