mirror of
https://github.com/optim-enterprises-bv/turnk8s.git
synced 2025-11-05 12:47:45 +00:00
9 lines
449 B
Bash
9 lines
449 B
Bash
#!/bin/bash
|
|
|
|
talosctl gen config talos-proxmrox https://$CONTROLPLANE_IP:6443 -o _out --force
|
|
talosctl apply-config -n $CONTROLPLANE_IP --insecure -f _out/controlplane.yaml
|
|
talosctl apply-config -n $WORKER_NODE_IP --insecure -f _out/worker.yaml
|
|
|
|
# Run after booting vm
|
|
talosctl bootstrap -e $CONTROLPLANE_IP -n $CONTROLPLANE_IP --talosconfig _out/talosconfig
|
|
talosctl kubeconfig -e $CONTROLPLANE_IP -n $CONTROLPLANE_IP --talosconfig _out/talosconfig |