Closed Naman1997 closed 1 year ago
Updated with comments
#!/bin/bash
talosctl gen config mycluster https://192.168.0.101:6443 # Load balancer IP [HA Proxy!]
talosctl apply-config --insecure --nodes 192.168.0.155 --file controlplane.yaml
talosctl apply-config --insecure --nodes 192.168.0.154 --file worker.yaml
sleep 30
talosctl bootstrap --nodes 192.168.0.155 -e 192.168.0.155 --talosconfig=./talosconfig # Probably only need to bootstap using 1 controller node - need to check this
sleep 30
talosctl kubeconfig --nodes 192.168.0.155 -e 192.168.0.155 --talosconfig=./talosconfig
# Wait for control plane to come up
Top level process looks something like this: