Skip to content

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.

Real hardware? Start with the tutorial First real server.

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

A HostClaim binds a Host. A HostOperation, after approval, boots the machine through its BMC with virtual media.YouHostClaimPendingHostOperation-BMCRedfishHostAvailableMedia storeinstaller + configMachineoffbindsproposesapprovesRedfishmountspower cyclechecks in

Propose

The controller proposes a HostOperation. The operation waits for approval. The machine does not change.

pk-metal status
  1. Claim. You apply a HostClaim. The HostClaim controller binds a free Host to it.

    kubectl apply -f claim.yaml
  2. Propose. The controller proposes a HostOperation. The operation waits for approval. The machine does not change.

    pk-metal status
  3. Approve. You approve the operation. The HostOperation controller starts it.

    pk-metal approve install-node-01
  4. Boot. 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 → PowerCycle
  5. Check in. Talos starts from the disk and the node checks in. The operation ejects the media and succeeds. The Host is Provisioned.

    AwaitCheckIn → EjectMedia
  1. You write what must be true. The operator writes what it finds. Read Assert and observe.
  2. The operator does nothing that disrupts a machine before a person approves it. Read Approval.
  3. Conditions are the facts. The phase is a summary for people. Read Phases and conditions.

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.

The color and the icon of a link show the type of page that it opens. How to read this site explains each one.