Skip to content

Day 1

Air-gapped site

Install and run clusters at a site that has no internet access.

  • 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.
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>
  1. List the images that Talos and Kubernetes need for your release.

    Terminal window
    talosctl images default
  2. Copy each image into your registry.

  3. Run your own image factory. Give its host to the manager.

    --image-factory=factory.example.org
  4. If your registry has a certificate from an internal CA, give the CA to the manager with --registry-ca.

  5. Add one mirror for each upstream registry to the TalosCluster.

    spec:
    registryMirrors:
    - registry: ghcr.io
    endpoints:
    - https://registry.example.org
    - registry: registry.k8s.io
    endpoints:
    - https://registry.example.org

    The 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.

  6. Point the nodes at your DNS and NTP servers with patches.

    spec:
    patches:
    - inline: |
    apiVersion: v1alpha1
    kind: ResolverConfig
    nameservers:
    - address: 192.0.2.53
    - inline: |
    apiVersion: v1alpha1
    kind: TimeSyncConfig
    ntp:
    servers:
    - ntp.example.org
  7. Build the operator image and push it to your registry.

    Terminal window
    mise run image
  8. For one-slot BMCs, copy ghcr.io/siderolabs/imager at the pinned digest. Give the copy to the manager with --imager-repository.

  1. Apply a TalosNode and make sure that it has Rendered=True.
  2. Install one machine. See Install hosts.
  3. Make sure that the node becomes Ready with no internet route.
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