Recommendations for setting up a Talos Linux cluster in production.
<control-plane-ip>
placeholder with the IP address of a control plane node.
You can include as many IP addresses as needed:
192.168.0.2
, 192.168.0.3
, 192.168.0.4
, your command would be:
<worker-ip>
placeholder with the actual IP address of a worker node.
You can include as many IP addresses as needed:
https://myK8s.mydomain.io:6443
.
Note: You cannot use a HTTP load balancer, because the Kubernetes API server handles TLS termination and mutual TLS authentication.
<your_endpoint>
placeholder with your actual endpoint:
<your_cluster_name>
with the name you want to give your cluster:
talosctl
configuration file used to connect to and authenticate with your cluster.<node-ip-address>
with the IP of the node you want to inspect.
Note: Copy the network ID with an Operational state (OPER) value of up.
<node-ip-address>
with the IP address of the node you want to inspect:
worker.yaml
and controlplane.yaml
configuration files in your preferred editor.
Check that the values match your worker and control plane nodeβs network and disk settings.
If the values donβt match, youβll need to update your machine configuration..
Note: Refer to the Talos CLI reference for additional commands to gather more information about your nodes and cluster.
controlplane-patch-2.yaml
, controlplane-patch-3.yaml
) if you want to make multiple subsequent patches to the same machine configuration.
controlplane-patch-1
use the network interface and disk information you gathered from your control plane nodes :
worker-patch-1.yaml
, use network interface and disk information from your worker nodes:
controlplane.yaml
configuration to your control plane nodes:
worker.yaml
configuration to your worker node:
talosconfig
is your key to managing the Talos Linux cluster, without it, you cannot authenticate or communicate with your cluster nodes using talosctl
.
You have two options for managing your talosconfig
:
talosconfig
into the default configuration file located at ~/.talos/config
:
~/.talos
directory and set the TALOSCONFIG
environment variable:
<control_plane_IP_1> <control_plane_IP_2> <control_plane_IP_3>
with the IP addresses of your control plane nodes:
192.168.0.2
, 192.168.0.3
, 192.168.0.4
, your command would be:
<control-plane-IP>
placeholder with the IP address of ONE of your three control plane nodes:
kubeconfig
file to start using kubectl
with your cluster.
These commands must be run against a single control plane node.
You have two options for managing your kubeconfig
.
Replace <control-plane-IP>
with the IP address of any one of your control plane nodes:
kubeconfig
:kubeconfig
file: