Implement a Kubernetes driver

Open
#182 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
go, kubernetes

Research direction

No files or tests are named. Start by reviewing libkv's existing driver interface and the Kubernetes ConfigMap or Secret API, then resolve the key format and behavior for unsupported calls such as WatchTree, DeleteTree, and AtomicPut. Done requires an agreed design and a complete driver implementation matching the supported interface.

Written by the indexing model from the issue text.

Description

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

Dominant language
Go
Stars
847
Forks
204
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from docker/libkv

All issues in docker/libkv

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.