Client-Go Informer Missed Job Update Events After Changing Host Time

10/12/2021

We have a kubernetes cluster of version 1.19.x. There is such application which watches the Job update events via Client-go informer (v0.19.6).

We encountered such an issue that the application can't receive job update events from some time later, while pod events are fine. Restarting the application, the problem will disappear for sometime, but eventually it will come again.

One special thing we do before the issue occurred is that we changed the system time, because we have a test case which needs to reset the timezone.

What factors cause the job update machanism to disfunction? Will the system time change be the real factor? Similar to this issue.

-- Wallace
client-go
kubernetes

0 Answers