Help us shape the future of Go! Take the 2026 Go Developer Survey

kine

command module
v0.17.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

README

Kine (Kine is not etcd)

Kine is an etcdshim that provides an etcd-compatible API on top of various backend datastores:

Features

  • Can be ran standalone so any k8s (not just K3s) can use Kine
  • Implements the subset of the etcd V3 API required by the Kubernetes API server - not intendend to be usable as a generic etcd server

See an example.

High Availability

If you want to run multiple Kine instances (or multiple K3s server nodes, using the Kine embedded in K3s) you must use an external SQL database, or NATS, or T4.

  • The SQLite and Memory backends support only a single Kine instance.
  • The SQLite backend does not support use of shared-cache mode without WAL journal.
  • The SQLite backend does not support use of temporary or in-memory databases; use the Memory backend instead.
  • The SQLite backend does not not support running multiple instances against a shared DB file; either on a single host, or on shared storage mounted by multiple hosts.

Developer Documentation

A high level flow diagram and overview of code structure is available at docs/flow.md.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
app
drivers/t4
Package t4 provides a kine backend driver backed by t4 — an embeddable, S3-durable key-value store.
Package t4 provides a kine backend driver backed by t4 — an embeddable, S3-durable key-value store.
tls
ttl
Package ttl runs lease-driven key expiration on top of any server.Backend.
Package ttl runs lease-driven key expiration on top of any server.Backend.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL