KERYN fleet · previzualizarepreview

IntroducereIntroduction

InstalareInstallation

Ce vă trebuie pe calculatorul de lucru și pe servere, cum obțineți codul și cum verificați că totul este pregătit.

What you need on your workstation and on the servers, how to get the code and how to check everything is ready.

CerințeRequirements

Pe calculatorul de lucruOn your workstation

  • Node.js 20 sau mai nou. Keryn nu are dependențe externe: tot codul este în depozit.
  • Un client SSH (Secure Shell) și o cheie cu acces root la servere.
  • Node.js 20 or newer. Keryn has no external dependencies: all code is in the repository.
  • An SSH (Secure Shell) client and a key with root access to the servers.

Pe fiecare serverOn each server

VerificareCerință
Sistem de operareUbuntu 22.04 / 24.04, Debian 12, Rocky Linux 9, AlmaLinux 9
Memorieminimum 2 GiB, recomandat 4 GiB
Disc liberminimum 15 GiB
Porturi libere80, 443, 6443, 10250
Starefără Kubernetes instalat anterior
CheckRequirement
Operating systemUbuntu 22.04 / 24.04, Debian 12, Rocky Linux 9, AlmaLinux 9
Memoryat least 2 GiB, 4 GiB recommended
Free diskat least 15 GiB
Free ports80, 443, 6443, 10250
Stateno existing Kubernetes installation

Servere curateClean servers

Keryn refuză o gazdă care rulează deja Kubernetes sau care are porturile ocupate. Nu încearcă să repare o gazdă în stare necunoscută.

Keryn refuses a host that already runs Kubernetes or has its ports taken. It does not try to repair a host in an unknown state.

Acces la codGetting the code

Depozitul este privat în această etapă. Accesul pentru programul pilot se acordă la cerere de către Ma11AI Ltd. După acordarea accesului:

The repository is private at this stage. Pilot access is granted on request by Ma11AI Ltd. Once access is granted:

$ git clone [email protected]:<organizatie>/keryn.git
$ cd keryn
$ node fleet/cli.mjs --help

ConvențieConvention

În exemple, keryn înseamnă node fleet/cli.mjs, rulat din clona depozitului.

In examples, keryn means node fleet/cli.mjs, run from the repository clone.

Prima verificareFirst check

  1. Creați keryn.yaml cu cel puțin o gazdă (vedeți Gazde și rețea).
  2. Validați fișierul local, fără conexiune la servere.
  3. Rulați verificarea gazdelor. Prima conectare cere acceptarea explicită a cheii gazdei.
  1. Create keryn.yaml with at least one host (see Hosts and network).
  2. Validate the file locally, with no server connection.
  3. Run the host preflight. The first connection requires explicit acceptance of the host key.
$ keryn validate
keryn.yaml is valid: project shop, 2 host(s), 1 app(s)

$ keryn preflight --accept-new-host-key

Dacă toate gazdele sunt raportate INSTALLABLE, puteți trece la prima aplicație.

If every host is reported INSTALLABLE, continue with your first app.