Skip to content

Start

Overview

pk-metal is a Kubernetes operator. It runs in a small management cluster. It reads the objects that you write, and it changes the machines to agree with them.

  1. It finds each BMC from the MAC address in your Asset.
  2. It reads the machine through Redfish and makes a Host.
  3. It compares the serial number from the BMC with the serial number in your Asset.
  4. When you claim a Host, it proposes an install. You approve the install.
  5. It boots the installer from virtual media and installs Talos Linux.

Day 1 overview has the tasks.

Task How Read
Upgrade Talos or Kubernetes, change the configuration, reboot A rollout goes through the nodes one at a time. A person approves the plan. Rollouts
Back up and restore etcd Encrypted snapshots on a schedule. A restore is an approved operation. etcd backup
Add, remove and replace nodes You give the size or the new machine. The operator keeps the etcd majority. Node lifecycle
Release a machine You delete the claim. The operator wipes the disk and frees the machine. Release and wipe
BIOS settings, firmware, BMC accounts and certificates Profiles for sets of machines. Convergence
Limit changes to a schedule Maintenance windows hold approved operations. Maintenance windows
Move the operator onto a cluster that it built One command copies the objects. No machine changes. Pivot model
Watch the fleet Metrics, alert rules, a status command and a live view. Observability

Day 2 overview has the tasks.

One install is one approval. One rollout is one approval for all its nodes. The operator never approves. Your site decides if a person can approve their own proposal. Approval has the rules.

Object Written by Read Assert and observe
Asset, credentials Secret You What you assert
HostClaim, TalosNode You What you assert
ManagementEndpoint, Host The operator What it finds
HostOperation The operator; you approve it What it plans
Topic Limit
Operating system Talos Linux only, v1.14.0 or later. See Versions.
Architecture x86-64 machines in UEFI boot mode.
BMC Redfish with virtual media. No IPMI, no PXE. See Supported hardware.
Tested hardware Simulated BMCs only. See Project status.
Machine selection You name each machine. No replica count and no autoscaler.
Workloads The operator installs the cluster. It does not install add-ons or applications.
Operator replicas One manager. See Scale and sizing.
Tested size One cluster of five virtual machines.
Release None yet. The API is v1alpha1 and can change.

Compared with other tools maps pk-metal to tools that you possibly know.