Skip to content
This repository was archived by the owner on Feb 20, 2024. It is now read-only.

RichardoC/kube-sqlite3-vfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kube-sqlite3-vfs

sqlite3 using kubernetes as the backing storage

How it works

creates a namespace per file requested, which is named the base32 encoding of the filename the namespace contains a configmap called "lockfile" which contains the lock information a series of configmaps named chunk-NUMBER which contain 64kB of data each

namespaces all labelled with "kube-sqlite3-vfs": "used" to ease cleanup

TODO: all locking/unlocking

Must use only one ns as k3s gets unhappy with namespaces being created/deleted so often. Configmap names can be 253 characters long Not convinced writing is working correctly

About

sqlite3 using kubernetes as the backing storage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages