ok-linux is the Kubernetes Host OS layer of OpenKubes.
It provides curated Kubernetes host-OS profiles. Talos remains the default; Flatcar is available only through the constrained amd64/KubeVirt profile accepted by ADR-009.
ok-linux is not a general-purpose Linux distribution. It is a curated OS abstraction with Talos Linux as the default — so that ok-cluster only needs to say:
os: distribution: ok-linux profile: kubevirtThis is not aspirational — it is how ok-cluster actually works today. ok-cluster's
render.pyreadsprofile.yamldirectly from a sibling ok-linux checkout to resolve the Talos version and schematic ID. See Integration with ok-cluster below.
ok-linux/
├── profiles/ # Declarative OS profiles per target environment
│ ├── kubevirt/ # Talos VMs under KubeVirt (QEMU/KVM) ✅
│ ├── flatcar-kubevirt/ # constrained Flatcar/amd64/KubeVirt ✅
│ ├── baremetal/ # Physical servers (Hetzner AX/EX) ✅
│ ├── edge/ # Single-node, IoT, ROS2 📋 draft
│ └── gpu/ # GPU nodes (RTX 4000 Ada, first-class) 📋 planned
│
├── extensions/ # Curated Talos extensions (Phase 3)
│ ├── README.md # Governance: acceptance criteria, approval process
│ ├── nvidia/ 📋 planned — blocked on profiles/gpu/
│ └── qemu-guest-agent/ ✅ active, embedded in kubevirt schematic
│
├── docs/
│ ├── spec.md # Full specification — principles, contracts, decision log
│ ├── architecture.md
│ └── adr/ # Architecture Decision Records (ADR-001 – ADR-008)
│
├── archive/ # Previous custom kernel/image approach (historical)
└── Makefile
Each profile is a declarative YAML describing the complete OS configuration for a node type:
| Profile | Target | Status |
|---|---|---|
kubevirt |
Talos VMs under KubeVirt | ✅ stable — verified against running cluster |
flatcar-kubevirt |
Flatcar amd64 VMs under KubeVirt | ✅ constrained — ADR-009 |
baremetal |
Hetzner AX/EX bare metal | 🚧 in progress |
edge |
IoT / single-node / ROS2 | 📋 draft |
gpu |
GPU nodes (RTX 4000 Ada) | 📋 planned |
Talos profiles contain three equal core artifacts:
profiles/kubevirt/
├── profile.yaml # Identity: Talos version, schematic ID, kernel args, extensions
├── schematic.yaml # Image: submitted to Talos Image Factory
├── machineconfig.yaml # Defaults: disk, network, time, resource sizing
└── README.md
ok-cluster does not hardcode Talos versions or schematic IDs. It reads them directly from this repository.
ok-linux/profiles/kubevirt/profile.yaml
↓ (talos.version, talos.schematic_id)
ok-cluster's render.py reads this file from a sibling checkout
↓
ok-cluster's cluster-config.yaml os.profile: kubevirt, os.schematic_id: <resolved>
↓
Running cluster
The constrained Flatcar path consumes
profiles/flatcar-kubevirt/profile.yaml. Its OS identity is owned here, while
KubeVirt transport, storage, scheduling, and CAPI lifecycle mechanics remain in
ok-cluster.
This requires ok-linux and ok-cluster to be sibling directories:
~/your-workspace/
├── ok-linux/ ← this repo
└── ok-cluster/ ← github.com/openkubes/ok-cluster
If ok-linux cannot be found, ok-cluster falls back to hardcoded defaults and prints a warning — see ok-cluster's README.
Resolution model (today: static, future: dynamic) — per ADR-004, ok-cluster currently reads profile.yaml from disk. A future version may resolve this from a Git ref or API instead — the os: field shape in cluster-config.yaml will not change either way.
The kubevirt profile's schematic ID (ce4c980...) has been verified twice against fresh make new && make bootstrap runs on the ok1-talos cluster — not just against the original, manually-created cluster. ok-linux is the actual source of truth ok-cluster reads from, not just documentation describing an intended architecture.
| Phase | Scope | Status |
|---|---|---|
| 1 — Profiles | Declarative OS profiles per environment | ✅ done |
| 2 — Image Factory | Reproducible images, make build/show/verify PROFILE= |
✅ done |
| 3 — Extensions | Curated extensions with governance | 🚧 governance done, nvidia planned |
→ See docs/roadmap.md for details.
- docs/spec.md — full specification: principles, profile schema, Image Factory contract, extension governance, integration contract, versioning policy
- docs/adr/ — Architecture Decision Records (ADR-001 through ADR-009), including the constrained Flatcar/KubeVirt support decision
| Repository | Responsibility |
|---|---|
| ok-linux | OS profiles, schematics, MachineConfig, extensions |
| ok-cluster | Cluster lifecycle — CAPI, CAPK, upgrade, scale |
| ok-local | Local development environment |
| openkubes | Architecture, docs, vision |
ok-cluster expresses intent. ok-linux is the source of truth.
Apache 2.0 — see LICENSE