KERYN fleet · previzualizarepreview

Fișierul keryn.yamlThe keryn.yaml file

Gazde și rețeaHosts and network

Fiecare gazdă este un server Linux accesibil prin SSH. Una este server de control; celelalte sunt agenți care rulează aplicații.

Each host is a Linux server reachable over SSH. One is the control server; the others are agents that run apps.

Câmpurile unei gazdeHost fields

CâmpImplicitDescriere
address—adresa IP sau numele DNS (Domain Name System); obligatoriu
userrootutilizatorul SSH
port22portul SSH
roleserverserver sau agent
gpufalsegazda are plăci NVIDIA; vedeți Procesoare grafice
labels{}etichete Kubernetes adăugate nodului
FieldDefaultDescription
address—IP address or DNS (Domain Name System) name; required
userrootSSH user
port22SSH port
roleserverserver or agent
gpufalsethe host has NVIDIA cards; see GPU workloads
labels{}Kubernetes labels added to the node
hosts:
  main:
    address: 203.0.113.10
    role: server
  gpu1:
    address: 203.0.113.20
    role: agent
    gpu: true
    labels: { zone: fra1 }

Chei de gazdăHost keys

Keryn verifică cheia fiecărei gazde. La prima conectare, opțiunea --accept-new-host-key acceptă explicit cheia nouă; ulterior, o cheie schimbată oprește comanda.

Keryn verifies each host’s key. On first connection, --accept-new-host-key explicitly accepts the new key; afterwards, a changed key stops the command.

Rețea privată WireGuardWireGuard private network

Cu network.vpn: true, traficul dintre gazde trece printr-o rețea WireGuard criptată, în intervalul vpn_cidr. Este recomandat oricând gazdele comunică prin internet public.

With network.vpn: true, traffic between hosts goes through an encrypted WireGuard network in the vpn_cidr range. It is recommended whenever hosts communicate over the public internet.

Paravan de protecțieFirewall

La instalare, Keryn configurează paravanul gazdei pentru porturile necesare grupului. Dacă paravanul este inactiv, jurnalul o spune explicit (ufw inactive: no rules needed).

During install, Keryn configures the host firewall for the ports the cluster needs. If the firewall is inactive, the log says so explicitly (ufw inactive: no rules needed).