Repository navigation
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
hunleyd
added a commit
that referenced
this pull request
Aug 22, 2026
…c-spool-path-defaults-onto-the-10gb-root-volume * origin/develop: Report final AMI disk usage to workflow job (#2384) Re-organize build scripts, add to shellcheck (#2380) feat: Do not hardcode `orioledb.main_buffers` in `postgresql.conf` (#2365) feat: add orioledb debug symbols (#2379) chore: Make postgresql.env optional in database-optimizations.service (#2372) feat: bump to PostgREST v14.17 (#2374) ansible: Bump versions to get new AMIs built (#2376) Revert PostgREST bump to v14.17 (#2371) fix: disable APT timers during Supabase upgrades (#2358) gha/nix-install-ephemeral: Actually copy to s3, not just echo it (#2369) feat: bump to PostgREST v14.17 (#2363) feat: add guest-to-host time synchronisation (#2364) ci: Add final job that depends on the important jobs (#2361) feat: Add ORIOLEDB_ENABLED into /etc/environment.d/postgresql.env (#2362) fix: harden post-upgrade vacuum analyze in pg_upgrade complete script (#2356) feat: Bump admin-api to 0.114.0 (#2342) feat: [ansible/tasks] adding reindex script for collation version change (#2343) Revert "Lots of bootstrap script clean ups (#2326)" (#2357) ci: Delete nix-eval workflow (#2347)
hunleyd
added a commit
that referenced
this pull request
Aug 25, 2026
…nix-pkg-for-pgbackrest * origin/develop: (26 commits) chore(nix): remove LLVM JIT support from postgresql build (#2296) fix: cover pg_cron legacy extversion strings with alignment migration and alias scripts (#2300) docs: commit supabase/postgres's CLAUDE.md (#2395) ansible: Setup swap in stage2 not stage1 (#2381) ci: install AMI postgres profile via nix-env --set (#2309) images: clean up nix at end of process (#2393) ansible: Stop compiling binaries (#2382) Report final AMI disk usage to workflow job (#2384) Re-organize build scripts, add to shellcheck (#2380) feat: Do not hardcode `orioledb.main_buffers` in `postgresql.conf` (#2365) feat: add orioledb debug symbols (#2379) chore: Make postgresql.env optional in database-optimizations.service (#2372) feat: bump to PostgREST v14.17 (#2374) ansible: Bump versions to get new AMIs built (#2376) Revert PostgREST bump to v14.17 (#2371) fix: disable APT timers during Supabase upgrades (#2358) gha/nix-install-ephemeral: Actually copy to s3, not just echo it (#2369) feat: bump to PostgREST v14.17 (#2363) feat: add guest-to-host time synchronisation (#2364) ci: Add final job that depends on the important jobs (#2361) ...
hunleyd
added a commit
that referenced
this pull request
Aug 25, 2026
…chiving-on-customer-tier * origin/develop: (26 commits) chore(nix): remove LLVM JIT support from postgresql build (#2296) fix: cover pg_cron legacy extversion strings with alignment migration and alias scripts (#2300) docs: commit supabase/postgres's CLAUDE.md (#2395) ansible: Setup swap in stage2 not stage1 (#2381) ci: install AMI postgres profile via nix-env --set (#2309) images: clean up nix at end of process (#2393) ansible: Stop compiling binaries (#2382) Report final AMI disk usage to workflow job (#2384) Re-organize build scripts, add to shellcheck (#2380) feat: Do not hardcode `orioledb.main_buffers` in `postgresql.conf` (#2365) feat: add orioledb debug symbols (#2379) chore: Make postgresql.env optional in database-optimizations.service (#2372) feat: bump to PostgREST v14.17 (#2374) ansible: Bump versions to get new AMIs built (#2376) Revert PostgREST bump to v14.17 (#2371) fix: disable APT timers during Supabase upgrades (#2358) gha/nix-install-ephemeral: Actually copy to s3, not just echo it (#2369) feat: bump to PostgREST v14.17 (#2363) feat: add guest-to-host time synchronisation (#2364) ci: Add final job that depends on the important jobs (#2361) ...
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.