talos.md
· 1.3 KiB · Markdown
原始文件
# Installation
Hope this works soooonn
Install guide: https://www.talos.dev/v1.9/talos-guides/install/virtualized-platforms/proxmox/
## Create VM
Lav VM i GUI og herefter tilføj cpu args.
Gør det både for en control plane og en worker
```sh
export VM_ID=144
echo 'args: -cpu kvm64,+cx16,+lahf_lm,+popcnt,+sse3,+ssse3,+sse4.1,+sse4.2' >> /etc/pve/qemu-server/$VM_ID.conf
qm start $VM_ID
```
## Install Talos
Lav config og apply det
### Control Plane
```sh
export CONTROL_PLANE_IP=192.168.0.180
# Create
talosctl gen config talos-proxmox-cluster https://$CONTROL_PLANE_IP:6443 --output-dir _out --install-image factory.talos.dev/installer/ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515:v1.9.5
# Apply
talosctl apply-config --insecure --nodes $CONTROL_PLANE_IP --file _out/controlplane.yaml
```
### Worker node
```sh
export WORKER_IP=192.168.0.139
# Apply
talosctl apply-config --insecure --nodes $WORKER_IP --file _out/worker.yaml
```
# Usage
For at snakke med controlplane, add det sådan her:
```sh
export TALOSCONFIG="_out/talosconfig"
talosctl config endpoint $CONTROL_PLANE_IP
talosctl config node $CONTROL_PLANE_IP
```
Jeg er i tvivl hvor vidt man så skal køre en "Bootstrap Etcd" efterfølgende, det står i "Using the Cluster
```sh
talosctl bootstrap
Installation
Hope this works soooonn
Install guide: https://www.talos.dev/v1.9/talos-guides/install/virtualized-platforms/proxmox/
Create VM
Lav VM i GUI og herefter tilføj cpu args. Gør det både for en control plane og en worker
export VM_ID=144
echo 'args: -cpu kvm64,+cx16,+lahf_lm,+popcnt,+sse3,+ssse3,+sse4.1,+sse4.2' >> /etc/pve/qemu-server/$VM_ID.conf
qm start $VM_ID
Install Talos
Lav config og apply det
Control Plane
export CONTROL_PLANE_IP=192.168.0.180
# Create
talosctl gen config talos-proxmox-cluster https://$CONTROL_PLANE_IP:6443 --output-dir _out --install-image factory.talos.dev/installer/ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515:v1.9.5
# Apply
talosctl apply-config --insecure --nodes $CONTROL_PLANE_IP --file _out/controlplane.yaml
Worker node
export WORKER_IP=192.168.0.139
# Apply
talosctl apply-config --insecure --nodes $WORKER_IP --file _out/worker.yaml
Usage
For at snakke med controlplane, add det sådan her:
export TALOSCONFIG="_out/talosconfig"
talosctl config endpoint $CONTROL_PLANE_IP
talosctl config node $CONTROL_PLANE_IP
Jeg er i tvivl hvor vidt man så skal køre en "Bootstrap Etcd" efterfølgende, det står i "Using the Cluster
talosctl bootstrap