docker / libkv

Distributed key/value store abstraction library
Apache License 2.0
854 stars 205 forks source link

Implement a Kubernetes driver #182

Open micahhausler opened 6 years ago

micahhausler commented 6 years ago

A Kubernetes ConfigMap (or Secret) driver would be really handy for applications that already use libkv (like traefik), and supports almost the whole interface.

Calls Kubernetes Notes
Put X
Get X
Delete X
Exists X
Watch X
WatchTree
NewLock (Lock/Unlock) X Can kind of fudge this with annotations
List X
DeleteTree
AtomicPut
Close X

The key could be something like namespace/configMapName/key, but there are lots of possibilities.

This may be out of scope, but I just wanted to surface the idea