Skip to content

Commit 3212674

Browse files
authored
Merge pull request #5644 from HirazawaUi/update-3386-milestone
KEP-3386: Update milestone
2 parents bce5ffe + fda8866 commit 3212674

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

keps/sig-node/3386-kubelet-evented-pleg/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ This might be a good place to talk about core concepts and how they relate.
141141
- Another risk is the CRI implementation could have a buggy event emitting system, and miss pod lifecycle events.
142142
- A mitigation is a `kube_pod_missed_events` metric, which the Kubelet could report when a lifecycle event is registered that wasn't triggered by an event, but rather by changes of state between lists.
143143
- While using the Evented implementation, the periodic relisting functionality would still be used with an increased interval which should work as a fallback mechanism for missed events in case of any disruptions.
144-
- Evented PLEG will need to update global cache timestamp periodically in order to make sure pod workers don't get stuck at [GetNewerThan](https://github.com/kubernetes/kubernetes/blob/4a894be926adfe51fd8654dcceef4ece89a4259f/pkg/kubelet/pod_workers.go#L924) in case Evented PLEG misses the event for any unforeseen reason.
144+
- During the state transition of a pod, the execution time of the podWorker code is slower than the event reporting speed of the container runtime. As a result, when calling `GetNewerThan()`, the timestamp in the PLEG cache is newer than `lastSyncTime`, ultimately causing the podWorker to enter a blocking state.
145+
- We use real-time container events to determine the container's state, rather than relying on the cached timestamp to decide whether the container's state is up to date. This is because, in the case of `EventedPLEG`, real-time container events always represent the latest container state, which also aligns with the design where the container lifecycle is driven by container events.
145146

146147
## Design Details
147148

keps/sig-node/3386-kubelet-evented-pleg/kep.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ stage: alpha
1818
# The most recent milestone for which work toward delivery of this KEP has been
1919
# done. This can be the current (upcoming) milestone, if it is being actively
2020
# worked on.
21-
latest-milestone: "v1.30"
21+
latest-milestone: "v1.35"
2222

2323
# The milestone at which this feature was, or is targeted to be, at each stage.
2424
milestone:

0 commit comments

Comments
 (0)