homelab/TALOS.MD
2024-09-21 21:47:49 +01:00

27 lines
495 B
Markdown

# 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
```
# Setup worker(s)
```bash
talosctl apply-config --insecure --nodes $WORKER_IP --file talos-cluster/worker.yaml
```