Skip to content

feat: add guest-to-host time synchronisation - #2364

Merged
lowjoel merged 1 commit into
developfrom
lowjoel/v3-clock-sync
Aug 17, 2026
Merged

feat: add guest-to-host time synchronisation#2364
lowjoel merged 1 commit into
developfrom
lowjoel/v3-clock-sync

Conversation

@lowjoel

@lowjoel lowjoel commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

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_counter clock source is used, which loses ~3s of accuracy a day. A pod running for ~1 year is about 15mins off. systemd-timesyncd is 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.

@lowjoel
lowjoel force-pushed the lowjoel/v3-clock-sync branch 6 times, most recently from d862968 to 3b43472 Compare August 17, 2026 02:58
@lowjoel
lowjoel force-pushed the lowjoel/v3-clock-sync branch from 3b43472 to 9debff6 Compare August 17, 2026 03:52
@lowjoel
lowjoel marked this pull request as ready for review August 17, 2026 03:53
@lowjoel
lowjoel requested review from a team as code owners August 17, 2026 03:53
@lowjoel
lowjoel added this pull request to the merge queue Aug 17, 2026
Merged via the queue into develop with commit 667e8c6 Aug 17, 2026
111 checks passed
@lowjoel
lowjoel deleted the lowjoel/v3-clock-sync branch August 17, 2026 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants