# Kine

> Run Kubernetes on MySQL, Postgres, sqlite, not etcd

Source: https://talira.ai/catalog/kine-5p0ezv6x
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Infrastructure
- Categories: [infrastructure / kubernetes / datastores](https://talira.ai/categories/infrastructure/kubernetes/datastores)
- Licence: Apache-2.0[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Self-hostable: yes[^1]
- API: yes[^1]
- Backed by: [k3s-io](https://talira.ai/orgs/k3s-io.md)

Kine is an [etcd](https://talira.ai/catalog/etcd-zdq64wjj.md) shim (its name stands for "Kine is not etcd"): it serves the subset of the etcd v3 API that the [Kubernetes](https://talira.ai/catalog/kubernetes-ftsegx3m.md) API server needs and stores the data in [SQLite](https://talira.ai/catalog/sqlite-cys3nt23.md), [MySQL](https://talira.ai/catalog/mysql-dy4scprm.md) or MariaDB, [PostgreSQL](https://talira.ai/catalog/postgresql-cm55wcnd.md), memory, NATS JetStream or T4. [K3s](https://talira.ai/catalog/k3s-mr4x8s65.md) embeds it, which is how a single K3s server runs on SQLite, but it also runs standalone in front of any Kubernetes. Several Kine instances (or K3s servers) need an external SQL database, NATS or T4 for high availability; SQLite and the memory backend support a single instance.

## Links

- GitHub: https://github.com/k3s-io/kine

## Problems it solves

- run the Kubernetes control plane on a Postgres or MySQL database we already operate instead of etcd
- a single-node Kubernetes server that keeps its state in one SQLite file
- highly available k3s servers backed by a managed SQL database
- avoid running and backing up a three-node etcd cluster for a small Kubernetes setup
- store Kubernetes state in NATS JetStream
- an etcd-compatible endpoint for kube-apiserver in front of a relational database
- back up our Kubernetes control plane the same way we back up our SQL databases
- a lightweight Kubernetes for a Raspberry Pi or edge device without etcd's disk and memory needs
- store a Kubernetes cluster's state in a managed MySQL or Postgres service from our cloud provider
- test Kubernetes controllers against an in-memory datastore

## Features

- etcd v3 API subset for kube-apiserver: KV, Watch, Lease, Cluster MemberList, Maintenance Status
- SQL backends: SQLite, MySQL/MariaDB, Postgres
- memory backend (ephemeral btree)
- NATS backend (embedded or external JetStream)
- T4 backend (standalone or with S3)
- runs standalone for any Kubernetes, or embedded in K3s
- multiple instances for high availability with an external SQL database, NATS or T4

## Limitations

- Not a general-purpose etcd server: it implements only the parts of the etcd v3 API the Kubernetes API server needs[^1]
- No high availability with SQLite: the SQLite and memory backends support a single Kine instance[^1]

## Capabilities

- Has an API: plan not known

## Trust

Overall: 0.32 out of 1.
Signals: backing 0.30, extensibility 0.20.

- backed by k3s-io

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [K3s](https://talira.ai/catalog/k3s-mr4x8s65.md)
- Works with [Kubernetes](https://talira.ai/catalog/kubernetes-ftsegx3m.md)

## Alternatives

- [etcd](https://talira.ai/catalog/etcd-zdq64wjj.md): A distributed, reliable key-value store for the most critical data of a distributed system

## Sources

[^1]: https://github.com/k3s-io/kine/blob/master/README.md (checked 19 Nov 2026)
[^2]: https://github.com/k3s-io/kine/blob/master/LICENSE (checked 19 Nov 2026)
