homelab/TALOS.MD

27 lines
496 B
Plaintext
Raw Permalink Normal View History

2024-09-21 20:47:49 +00:00
# Talos Configuration
## Setup environment variables
```bash
export CONTROL_PLANE_IP=set me
export WORKER_IP=set me
```
## Generate config files
```bash
talosctl gen config hl-cluster https://$CONTROL_PLANE_IP:6443 -o talos-cluster
```
## Setup control plane(s)
```bash
talosctl apply-config --insecure --nodes $CONTROL_PLANE_IP --file talos-cluster/controlplane.yaml
```
2024-09-22 09:27:17 +00:00
## Setup worker(s)
2024-09-21 20:47:49 +00:00
```bash
talosctl apply-config --insecure --nodes $WORKER_IP --file talos-cluster/worker.yaml
```