3 ms·
When using kubernetes, I always wonder if we can transform all the tedious "kubeconfig"s into a collection that can be easily queried, modified, saved and retri
by qlk1123 8y ago
When using kubernetes, I always wonder if we can transform all the tedious "kubeconfig"s into a collection that can be easily queried, modified, saved and retrieved, rather than maintinaing small text pieces in some directories. More ambitiously, maybe include container/image metadata as well?
After reading this document, well, I think I will give it a try. It might not be a perfect fit, but I don't quite like yamls.
- tyingq 8y agoLxd uses distributed sqlite for it's config: https://github.com/lxc/lxd/blob/master/doc/database.md https://github.com/lxc/lxd/blob/master/doc/database.md And there's this simplified fork of K8S that replaces etcd with sqlite: https://github.com/ibuildthecloud/k3s/blob/master/README.md https://github.com/ibuildthecloud/k3s/blob/master/README.md
- cyphar 8y agoIt should be noted that the distributed SQLite is a patchset written by the LXD folks. Last time I talked to hem they said they're working on upstreaming it but want to be sure that everything is sane (SQLite has crazy backwards-compatibility requirements, not to mention the testing).