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.
What it does on day 1
Section titled “What it does on day 1”- It finds each BMC from the MAC address in your Asset.
- It reads the machine through Redfish and makes a Host.
- It compares the serial number from the BMC with the serial number in your Asset.
- When you claim a Host, it proposes an install. You approve the install.
- It boots the installer from virtual media and installs Talos Linux.
Day 1 overview has the tasks.
What it does after the install
Section titled “What it does after the install”| 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.
How many approvals
Section titled “How many approvals”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.
Who writes what
Section titled “Who writes what”| 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 |
Limits
Section titled “Limits”| 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.
- Make a cluster in the lab: Your first cluster in the lab.
- Follow one machine from the rack to a node: Rack to running node.
- Install one real machine: First real server.
- Install machines: Day 1 overview.
- Operate the cluster: Day 2 overview. If something fails, start at the Runbooks.