feat: add guest-to-host time synchronisation - #2364
Merged
Merged
Conversation
lowjoel
force-pushed
the
lowjoel/v3-clock-sync
branch
6 times, most recently
from
August 17, 2026 02:58
d862968 to
3b43472
Compare
lowjoel
force-pushed
the
lowjoel/v3-clock-sync
branch
from
August 17, 2026 03:52
3b43472 to
9debff6
Compare
lowjoel
marked this pull request as ready for review
August 17, 2026 03:53
kangmingtay
approved these changes
Aug 17, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce?
Fixes KUBE-1282.
For v3 qemu images, add guest-to-host time synchronisation.
This ensures that the time between the host and guest does not drift. This uses less resources than the full NTP stack because this uses the Linux PTP_KVM device and does not require network access.
What is the current behavior?
The default
arch_sys_counterclock source is used, which loses ~3s of accuracy a day. A pod running for ~1 year is about 15mins off.systemd-timesyncdis installed on the node, but several (~200) pods had NTP sync errors.With such a large drift, all backups will fail.
What is the new behavior?
We will maintain a constant time sync between guest-and-host even with network disruptions.