Day 1
Air-gapped site
Install and run clusters at a site that has no internet access.
Before you start
Section titled “Before you start”- You have an OCI registry at the site, for example
registry.example.org. - You can run your own Talos image factory. It is open source and has the same API.
- You have DNS and NTP servers at the site.
- Do these steps before the first install. A node pulls its images during the install.
What to mirror
Section titled “What to mirror”| Item | Source | Where you set the mirror |
|---|---|---|
| Installer ISOs and installer images | factory.talos.dev |
Manager flag --image-factory=<host> |
| Talos and Kubernetes images | ghcr.io, registry.k8s.io and others |
TalosCluster spec.registryMirrors |
| Firmware images | Your vendor | FirmwareProfile image, digest-pinned |
| The operator image | This repository | The manager Deployment |
| The Talos imager (one-slot BMCs only) | ghcr.io/siderolabs/imager |
Manager flag --imager-repository=<copy> |
-
List the images that Talos and Kubernetes need for your release.
Terminal window talosctl images default -
Copy each image into your registry.
-
Run your own image factory. Give its host to the manager.
--image-factory=factory.example.org -
If your registry has a certificate from an internal CA, give the CA to the manager with
--registry-ca. -
Add one mirror for each upstream registry to the TalosCluster.
spec:registryMirrors:- registry: ghcr.ioendpoints:- https://registry.example.org- registry: registry.k8s.ioendpoints:- https://registry.example.orgThe operator writes the mirrors into the config of each node, before the first node installs. The nodes ask the mirror for the same paths as upstream.
-
Point the nodes at your DNS and NTP servers with patches.
spec:patches:- inline: |apiVersion: v1alpha1kind: ResolverConfignameservers:- address: 192.0.2.53- inline: |apiVersion: v1alpha1kind: TimeSyncConfigntp:servers:- ntp.example.org -
Build the operator image and push it to your registry.
Terminal window mise run image -
For one-slot BMCs, copy
ghcr.io/siderolabs/imagerat the pinned digest. Give the copy to the manager with--imager-repository.
Verify
Section titled “Verify”- Apply a TalosNode and make sure that it has
Rendered=True. - Install one machine. See Install hosts.
- Make sure that the node becomes
Readywith no internet route.
If it fails
Section titled “If it fails”| What you see | Go to |
|---|---|
Rendered=False, SchematicUnavailable |
The manager cannot reach your image factory. Check --image-factory. |
BootAsset Ready=False, BuilderUnavailable |
The message names the imager flag to set. See Media slot busy or missing. |
The node does not become Ready |
Node not ready |