Bare metal · Redfish · Talos Linux
pk-metal
A Kubernetes operator that installs Talos Linux on bare-metal servers through their BMCs. You write what must be true. The operator proposes each change. You approve it.
Start here
Section titled “Start here”Real hardware? Start with the tutorial First real server.
How a machine gets installed
Section titled “How a machine gets installed”The operator uses Redfish and virtual media. It does not use PXE, TFTP or DHCP. Step through the install of one machine. Each box links to its reference page.
Install one machine
2 / 5
Propose
The controller proposes a HostOperation. The operation waits for approval. The machine does not change.
pk-metal statusClaim. You apply a HostClaim. The HostClaim controller binds a free Host to it.
kubectl apply -f claim.yamlPropose. The controller proposes a HostOperation. The operation waits for approval. The machine does not change.
pk-metal statusApprove. You approve the operation. The HostOperation controller starts it.
pk-metal approve install-node-01Boot. The operation mounts the installer and the node configuration as virtual media. It sets a one-time boot device and power cycles the machine.
InsertMedia → SetBootOverride → PowerCycleCheck in. Talos starts from the disk and the node checks in. The operation ejects the media and succeeds. The Host is Provisioned.
AwaitCheckIn → EjectMedia
Three rules
Section titled “Three rules”- You write what must be true. The operator writes what it finds. Read Assert and observe.
- The operator does nothing that disrupts a machine before a person approves it. Read Approval.
- Conditions are the facts. The phase is a summary for people. Read Phases and conditions.
After the install
Section titled “After the install”The operator also does the day-2 work: Talos and Kubernetes upgrades, etcd backup and restore, node changes, BIOS and firmware, and maintenance windows. Each change is a proposal that a person approves. Read the overview.
Status and requirements
Section titled “Status and requirements”- Status. No release yet. The API is
v1alpha1. The automatic tests use simulated BMCs. Read Project status. - Hardware. x86-64 servers in UEFI mode, with a Redfish BMC that can mount virtual media. Read Supported hardware.
- Versions. Talos v1.14.0 or later. Read Versions.
- The lab. A Linux workstation with KVM, Docker Engine and 12 GiB of free memory. Read Lab prerequisites.
- Real hardware. Start with First real server. System administrators: read For system administrators.
The color and the icon of a link show the type of page that it opens. How to read this site explains each one.