Skip to content

Commit 5ee7b73

Browse files
Mitigate number of status updates
1 parent 2684cc5 commit 5ee7b73

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

keps/sig-apps/2879-ready-pods-job-status/README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,10 @@ field based on the number of Pods that have the `Ready` condition.
9494

9595
### Risks and Mitigations
9696

97-
An increase in Job status updates. This is capped by the number of times Pods
98-
reach the ready State, usually once in their lifetime.
97+
- An increase in Job status updates. To mitigate this, the job controller holds
98+
the Pod updates that happen in X ms before syncing a Job. X will be determined
99+
from experiments on integration tests, but we expect it to be between 500ms
100+
and 1s.
99101

100102
## Design Details
101103

@@ -189,7 +191,7 @@ The Job controller will start populating the field again.
189191

190192
###### Are there any tests for feature enablement/disablement?
191193

192-
Yes, at unit and integration level.
194+
Yes, there will be tests at unit and integration level.
193195

194196
### Rollout, Upgrade and Rollback Planning
195197

@@ -222,8 +224,8 @@ The feature applies to all Jobs, unless the feature gate is disabled.
222224

223225
###### What are the reasonable SLOs (Service Level Objectives) for the enhancement?
224226

225-
The 99% percentile of Job status updates below 1s, when the controller doesn't
226-
create new Pods or tracks finishing Pods.
227+
The 99% percentile of Job status sync (processing+API calls) is below 2s, when
228+
the controller doesn't create new Pods or tracks finishing Pods.
227229

228230
###### What are the SLIs (Service Level Indicators) an operator can use to determine the health of the service?
229231

keps/sig-apps/2879-ready-pods-job-status/kep.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ stage: alpha
2020
latest-milestone: "v1.23"
2121

2222
milestone:
23-
beta: "v1.23"
23+
alpha: "v1.23"
24+
beta: "v1.24"
2425
stable: "v1.25"
2526

2627
feature-gates:

0 commit comments

Comments
 (0)