-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kubelet: Make probe to be on for time drift
The initialDelaySeconds holds liveness or readiness probes for specified seconds after container has started. To achieve this, kubelet relies on StartedAt time of container which never change during its lifecycle. But in case of time drift scenario (example: During maintenance, NVRAM is flashed, looks like it resets the BIOS settings and RTC is also affected), The StartedAt time may contain future time which makes probe to be disabled until system reaches StartedAt time. Hence this commit handles this scenario and makes probe to be still initiated for those cases. Signed-off-by: Periyasamy Palanisamy <pepalani@redhat.com>
- Loading branch information
1 parent
55d1518
commit e862d3c
Showing
2 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters