-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
neonvm: continuous synchronisation of files in pod/vm (#1222)
For #1213 I need the renewed certificate secret to be updated within the vm. It's ok if there's some lag on this synchronisation as certificates are renewed with generous amount of time left until expiry. Design: neonvm-runner will poll the files every 30s and compare a checksum against the files in the VM, via neonvm-daemon. If the checksums do not match, they are sent to neonvm-daemon where neonvm-daemon utilises atomic-writer to update the files. Useful links: https://ahmet.im/blog/kubernetes-secret-volumes-delay/ https://ahmet.im/blog/kubernetes-inotify/ Some discussion here: https://neondb.slack.com/archives/C03TN5G758R/p1737723555448339 https://neondb.slack.com/archives/C03TN5G758R/p1738669103059979
- Loading branch information
1 parent
5bd47d2
commit 14bfadb
Showing
11 changed files
with
478 additions
and
6 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
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
Oops, something went wrong.