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.
Before you start
Section titled “Before you start”- 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.
-
Add the proxy to the environment of the manager Deployment, with a patch in your overlay.
env:- name: HTTPS_PROXYvalue: http://proxy.example.org:3128- name: NO_PROXYvalue: 192.0.2.0/24,10.96.0.0/12,10.244.0.0/16,.svc,.cluster.local,localhost,127.0.0.1 -
Apply the overlay.
Terminal window kubectl apply -k overlays/site -
Add an
EnvironmentConfigpatch to the TalosCluster. It gives the proxy to the nodes.spec:patches:- inline: |apiVersion: v1alpha1kind: EnvironmentConfigvariables:https_proxy: http://proxy.example.org:3128no_proxy: 192.0.2.0/24,10.96.0.0/12,10.244.0.0/16,.svc,.cluster.local,localhost,127.0.0.1 -
If your firewall blocks the default DNS or NTP servers, add
ResolverConfigandTimeSyncConfigpatches. Air-gapped site has an example. -
Apply the TalosCluster before you install the first machine.
Terminal window kubectl apply -f cluster.yaml
Verify
Section titled “Verify”- The TalosNodes show
Rendered=True. - A new install reaches
Provisioned. See Install hosts.
If it fails
Section titled “If it fails”| 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 |
Related
Section titled “Related”- Network checklist
- In the lab, the lab tasks set the proxy for you. See Lab network.