Update README to correct Talos client configuration endpoint instructions

This commit is contained in:
Marco van Zijl 2025-05-03 21:15:48 +02:00
parent d9036a503b
commit 95ec073b9b

View File

@ -62,6 +62,18 @@ talosctl gen config \
talosctl config merge ./talosconfig talosctl config merge ./talosconfig
``` ```
Then correct the endpoint in the Talos client configuration:
```yaml
# ~/.talos/config
context: veda
contexts:
veda:
endpoints:
- 192.168.0.1
# (...)
```
For controlplane nodes: For controlplane nodes:
```bash ```bash
@ -97,18 +109,6 @@ talosctl gen config \
$API_ENDPOINT $API_ENDPOINT
``` ```
Then change the endpoint in the Talos client configuration:
```yaml
# ~/.talos/config
context: veda
contexts:
veda:
endpoints:
- 192.168.0.1
# (...)
```
### Bootstrapping ### Bootstrapping
Apply the configuration to each node: Apply the configuration to each node:
@ -118,9 +118,10 @@ talosctl apply-config --insecure --file rendered/master1.yaml --nodes 192.168.0
``` ```
Optionally, check the status. Optionally, check the status.
Point the Talos API endpoint directly to the node, since etcd, and thereby kube-vip, is not up.
```bash ```bash
talosctl -n 192.168.0.10 dashboard talosctl -n 192.168.0.10 -e 192.168.0.10 dashboard
``` ```
To start the cluster, we need to bootstrap the etcd cluster. To start the cluster, we need to bootstrap the etcd cluster.