Skip to content

Commit 53ad473

Browse files
committed
KEP-2535: add more details on kubelet configuration fields that will be added
Signed-off-by: Peter Hunt <[email protected]>
1 parent a4a8b2c commit 53ad473

File tree

1 file changed

+11
-0
lines changed
  • keps/sig-node/2535-ensure-secret-pulled-images

1 file changed

+11
-0
lines changed

keps/sig-node/2535-ensure-secret-pulled-images/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,17 @@ For beta an API will be considered to manage the ensure metadata.
138138
The kubelet will ensure any image in the list is always pulled if an authentication
139139
used is not present, thus enforcing authentication / re-authentication.
140140

141+
There will be two different kubelet configuration options added, as well as a feature
142+
gate to gate their use:
143+
- `pullImageSecretRecheck`
144+
- A boolean that toggles this behavior. If `false`, the kubelet will fallback to the
145+
old behavior: only pull an image if it's not present.
146+
- `pullImageSecretRecheckPeriod`
147+
- the period after which the kubelet's cache will be invalidated,
148+
thus causing rechecks for all `IfNotPresent` images that are recreated.
149+
- If set to `0s`, or `0`, but `pullImageSecretRecheck` is `true`, then
150+
the kubelet will never invalidate its cache, but will maintain one.
151+
141152

142153
### User Stories
143154

0 commit comments

Comments
 (0)