Open dmitsh opened 1 week ago
Yes, this bug was fixed in #1108, but no release contains it yet.
You can workaround it by deleting delay.durationFrom
and delay.jitterDurationFrom
.
I removed delay.durationFrom
and delay.jitterDurationFrom
from pod-complete.yaml, but it didn't help.
The pod gets completed right away.
I guess I should wait for the next KWOK release and test then.
How to use it?
What happened?
I'm running KWOK v0.5.2 in a cluster. I deployed a set of stages from
stage-fast.yaml
. Then I updatedpod-complete
by copyingkustomize/stage/pod/general/pod-complete.yaml
, settingdelay.durationMilliseconds
to 10000, and deploying it in the cluster. Then I deploy a job. The job does not have annotationpod-complete.stage.kwok.x-k8s.io/delay
When the job starts, the pods are markedCompleted
right away:What did you expect to happen?
IIUC, in the absence of
pod-complete.stage.kwok.x-k8s.io/delay
annotation, thedelay.durationMilliseconds
specifies how long the pods should run before changing the status toCompleted
.How can we reproduce it (as minimally and precisely as possible)?
delay.durationMilliseconds
to 10000 inpod-complete.yaml
Anything else we need to know?
No response
Kwok version
kwok version 0.5.2
OS version