Skip to content

Day 1

Behind a proxy

Send outbound HTTPS from the operator and from the nodes through your proxy. Keep the BMC network, the node network and the cluster networks off the proxy.

  • You have the proxy URL, for example http://proxy.example.org:3128.
  • You know the address ranges of the BMC network and the node network.
  • The nodes do not get the proxy from the operator. You give it to them in the TalosCluster.
  1. Add the proxy to the environment of the manager Deployment, with a patch in your overlay.

    env:
    - name: HTTPS_PROXY
    value: http://proxy.example.org:3128
    - name: NO_PROXY
    value: 192.0.2.0/24,10.96.0.0/12,10.244.0.0/16,.svc,.cluster.local,localhost,127.0.0.1
  2. Apply the overlay.

    Terminal window
    kubectl apply -k overlays/site
  3. Add an EnvironmentConfig patch to the TalosCluster. It gives the proxy to the nodes.

    spec:
    patches:
    - inline: |
    apiVersion: v1alpha1
    kind: EnvironmentConfig
    variables:
    https_proxy: http://proxy.example.org:3128
    no_proxy: 192.0.2.0/24,10.96.0.0/12,10.244.0.0/16,.svc,.cluster.local,localhost,127.0.0.1
  4. If your firewall blocks the default DNS or NTP servers, add ResolverConfig and TimeSyncConfig patches. Air-gapped site has an example.

  5. Apply the TalosCluster before you install the first machine.

    Terminal window
    kubectl apply -f cluster.yaml
What you see Go to
Endpoints stay Unreachable NO_PROXY does not include the BMC network. See BMC unreachable.
Rendered=False, SchematicUnavailable The manager cannot reach the image factory through the proxy.
The node boots but does not become Ready Node not ready