/kine2

etcd v2.3 shim on top of SQL

Primary LanguageGo

kine2 is discontinued

kine2 was planned to be needed for lightweight flannel deployments, but it didn't get very far.
Besides, flannel now supports etcdv3 API (tried with v0.19.2), this project won't be needed anymore.

kine2

kine2 is an etcd v2.3 API shim running on top of SQLite.

See https://etcd.io/docs/v2.3/api/

See etcdserver/etcdhttp/client.go

Endpoints implemented

None yet

Endpoints to implement

GET /version

Response:

{ "etcdserver":"2.3.8"
, "etcdcluster":"2.3.0"
}

PUT /v2/keys/${path}

Payload:

Response:

{ "action": "set"
, "node":
  { "createdIndex": 2
  , "key": "/${path}"
  , "modifiedIndex": 2
  , "value": "Hello world"
  }
, "prevNode?":
  { ... (see above) }
}