IntroducereIntroduction
Ce este KerynWhat Keryn is
Keryn este un instrument de găzduire declarativă pentru serverele pe care le dețineți deja. Scrieți un fișier keryn.yaml care descrie gazdele și aplicațiile; Keryn verifică gazdele, instalează un grup Kubernetes ușor (k3s), certificate TLS automate și, opțional, o rețea privată WireGuard, apoi publică aplicațiile cu actualizări fără întrerupere.
Keryn is a declarative hosting tool for servers you already own. You write a keryn.yaml file describing hosts and apps; Keryn checks the hosts, installs a lightweight Kubernetes cluster (k3s), automatic TLS certificates and, optionally, a WireGuard private network, then publishes the apps with zero-downtime updates.
Diferența față de alte instrumente este regula de aprobare: orice comandă care schimbă ceva rulează mai întâi ca simulare și afișează amprenta SHA-256 (Secure Hash Algorithm, 256 de biți) a planului. Schimbarea se execută doar când comanda primește exact acea amprentă. Dacă fișierul sau gazdele s-au schimbat între timp, amprenta nu mai corespunde și nu se întâmplă nimic.
What sets it apart is the approval rule: every command that changes something runs first as a dry run and prints the plan’s SHA-256 (Secure Hash Algorithm, 256-bit) digest. The change runs only when the command receives exactly that digest. If the file or the hosts changed in the meantime, the digest no longer matches and nothing happens.
Pentru cine esteWho it is for
Cum arată un fișierWhat a file looks like
Un singur fișier descrie tot: gazdele, rețeaua, certificatele și aplicațiile. Restul obiectelor Kubernetes sunt generate determinist.
One file describes everything: hosts, network, certificates and apps. All other Kubernetes objects are generated deterministically.
version: 1
project: shop
hosts:
main:
address: 203.0.113.10
role: server
worker1:
address: 203.0.113.11
role: agent
tls:
email: [email protected]
network:
vpn: true
apps:
web:
image: ghcr.io/example/web:1.4.2
port: 8080
replicas: 2
domains: [shop.example.com]
health:
path: /healthzCe primiți din acest fișierWhat this file gives you
- Un grup k3s v1.30.4 pe două gazde, cu WireGuard între ele.
- Certificat Let’s Encrypt pentru
shop.example.com, emis și reînnoit de cert-manager v1.15.3. - Două replici răspândite pe gazde diferite, cu verificare de sănătate pe
/healthz. - Actualizări prin înlocuire treptată, fără nicio replică oprită înainte ca cea nouă să fie pregătită.
- Containere fără drepturi de administrator, cu sistem de fișiere doar pentru citire și politici de rețea care refuză implicit traficul.
- A k3s v1.30.4 cluster on two hosts, with WireGuard between them.
- A Let’s Encrypt certificate for
shop.example.com, issued and renewed by cert-manager v1.15.3. - Two replicas spread across different hosts, with a health check on
/healthz. - Rolling updates, with no replica stopped before the new one is ready.
- Containers without root, with a read-only filesystem and network policies that deny traffic by default.
Stadiu: previzualizareStatus: preview
Keryn Fleet a trecut o probă reală pe două gazde (16.10.2026). Construirea imaginilor din cod sursă, proba pe procesoare grafice și certificatele de producție au porți deschise. Vedeți Stadiu și porți.
Keryn Fleet passed a real two-host trial (16.10.2026). Building images from source, the GPU trial and production certificates still have open gates. See Status and gates.