This repo serves as a central place for publishing supported extensions to Talos Linux. Extensions allow for additional functionality on top of the default Talos Linux capabilities. Things like gVisor, GPU support, etc. are good candidates for extensions.
Extensions in this repo are published as container images.
These images can be specified in the Talos Linux machine configuration and, when present, will get extracted and laid down as part of the installation process.
The image is composed of a manifest.yaml
file that provides information and compatibility information, as well as a rootfs
that contains things like compiled binaries that are bind mounted into the system.
All system extensions provided by Sidero Labs can be found in the ghcr.io registry.
Name | Image | Description | Version Format |
---|---|---|---|
gvisor | ghcr.io/siderolabs/gvisor | gVisor container runtime | upstream version -talos version |
Name | Image | Description | Version Format |
---|---|---|---|
amd-ucode | ghcr.io/siderolabs/amd-ucode | AMD CPU microcode updates | linux firmware version |
amdgpu-firmware | ghcr.io/siderolabs/amdgpu-firmware | AMD GPU firmware | linux firmware version |
bnx2-bnx2x | ghcr.io/siderolabs/bnx2-bnx2x | Broadcom NetXtreme firmware | linux firmware version |
chelsio-firmware | ghcr.io/siderolabs/chelsio-firmware | Chelsio NIC firmware | linux firmware version |
i915-ucode | ghcr.io/siderolabs/i915-ucode | Intel GPU firmware | linux firmware version |
intel-ice-firmware | ghcr.io/siderolabs/intel-ice-firmware | Intel ICE NIC firmware | linux firmware version |
intel-ucode | ghcr.io/siderolabs/intel-ucode | Intel CPU microcode updates | upstream version |
Name | Image | Description | Version Format |
---|---|---|---|
chelsio | ghcr.io/siderolabs/chelsio-drivers | Chelsio NIC drivers | talos version |
gasket | ghcr.io/siderolabs/gasket-driver | Driver for Google Coral PCIe devices | gasket driver upstream short commit -talos version |
nvidia | ghcr.io/siderolabs/nvidia-open-gpu-kernel-modules | NVIDIA OSS Driver | nvidia driver upstream version -talos version |
thunderbolt | ghcr.io/siderolabs/thunderbolt | Thunderbolt drivers | talos version |
usb-modem | ghcr.io/siderolabs/usb-modem-drivers | USB Modem drivers | talos version |
Name | Image | Description | Version Format |
---|---|---|---|
binfmt-misc | ghcr.io/siderolabs/binfmt-misc | Miscellaneous Binary Format | talos version |
Name | Image | Description | Version Format |
---|---|---|---|
tailscale | ghcr.io/siderolabs/tailscale | Tailscale | upstream version |
Name | Image | Description | Version Format |
---|---|---|---|
iscsi-tools | ghcr.io/siderolabs/iscsi-tools | Open iSCSI tools | v0.1.0 |
drbd | ghcr.io/siderolabs/drbd | DRBD driver module | upstream version -talos version |
zfs | ghcr.io/siderolabs/zfs | ZFS driver module | upstream version -talos version |
btrfs | ghcr.io/siderolabs/btrfs | BTRFS driver module | talos version |
Name | Image | Description | Version Format |
---|---|---|---|
nut-client | ghcr.io/siderolabs/nut-client | Network UPS Tools upsmon client | upstream version -talos version |
Name | Image | Description | Version Format |
---|---|---|---|
qemu-guest-agent | ghcr.io/siderolabs/qemu-guest-agent | QEMU Guest Agent | upstream version |
xe-guest-utilities | ghcr.io/siderolabs/xe-guest-utilities | xe-guest-utilities | upstream version |
Name | Description | Version Format |
---|---|---|
nvidia-container-toolkit | Tools to run NVIDIA GPU workloads in containers | driver version -toolkit version |
nvidia-fabricmanager | NVIDIA fabric manager support for GPU workloads | driver version |
nvidia-open-gpu-kernel-modules | NVIDIA driver kernel modules | driver version -talos version |
Name | Description | Version Format |
---|---|---|
util-linux-tools | Util Linux tools (only fstrim now) | talos version |
In the current form, building extensions requires the use of our bldr tool. It is highly recommended to take a look at an existing extensions as a template for building your own. The rough flow should look like the following:
- Create a
manifest.yaml
file that contains information about your system extension. See instructions below for this file. - Create a
pkg.yaml
file that details the full flow of downloading, building, installing your application. - Once you have these, add your extension to the
TARGETS
list in theMakefile
. - You can now build your extension using make like
make <extension-name> PLATFORM=linux/amd64
- If you wish to output the contents of the image and validate your install, you can issue
make local-<extension-name> PLATFORM=linux/amd64 DEST=_out
. The contents will then be present in the_out
directory.
The manifest.yaml
file should match the following format:
version: v1alpha1
metadata:
name: <extension name>
version: <version of the package the extension installs>-<version of the extensions repo (tracks with talos version)>
author: Andrew Rynhard
description: |
<detailed description of the extension/package>
## The compatibility section is "optional" but highly recommended to specify a Talos version that
## has been tested and known working for this extension.
compatibility:
talos:
version: ">= v1.0.0"
Creating a pkg.yaml
file is the normal process from bldr.
See instructions here for details and examples on this format.
Using other existing extensions in this repo for tips is also highly recommended.
One important note is that the final directory tree of the generated package should look like this example from the gvisor
package:
├── manifest.yaml
└── rootfs
├── etc
│ └── cri
│ └── conf.d
│ └── gvisor.part
└── usr
└── local
└── bin
├── containerd-shim-runsc-v1
└── runsc
Note that the manifest.yaml
file lives at the root, while all installed files live under /rootfs
with the full tree of where they should live on the eventual Talos Linux install.
The following restrictions are applied to the contents of the rootfs
of the system extension:
- no special files (FIFOs, devices, etc.)
- no world-writeable files or directories
Any paths in the rootfs
should be contained within the following hierarchies:
/etc/cri/conf.d/
/lib/firmware/
/lib/modules/
/lib64/ld-linux-x86-64.so.2
/usr/etc/udev/rules.d/
/usr/local/
/usr/share/glvnd/
/usr/share/egl/
/etc/vulkan/