2025-11-08 04:15:16 +01:00
2025-12-02 02:45:26 +01:00
2025-12-02 02:45:26 +01:00
2025-11-11 04:18:18 +01:00
2025-11-12 03:20:35 +01:00
2025-12-01 02:19:52 +01:00
2025-11-12 03:18:43 +01:00
2025-11-12 03:20:35 +01:00
2025-11-12 03:18:43 +01:00
2025-11-12 03:20:35 +01:00
2025-11-12 03:18:43 +01:00

Talos

To decrypt the secrets file:

git-crypt unlock

Generate the config files:

talosctl gen config <cluster_name> https://<controlplane_ip>:6443 -f \
--with-secrets secrets.yaml \
--config-patch @<path_to_patch> \
--config-patch-control-plane @<path_to_controlplane_patch> \
--install-image factory.talos.dev/metal-installer/<schematic_id>:<version> \
-o configs

Set TALOSCONFIG:

export TALOSCONFIG=$(realpath configs/talosconfig)

Apply the configs for each node, use worker.yaml for worker nodes:

talosctl apply-config --insecure --nodes <node_id> --file configs/controlplane.yaml

Set endpoint to one of the nodes:

talosctl config endpoint <node_ip>

Bootstrap Kubernetes:

talosctl -n <node_id> bootstrap

Set endpoint to control plane:

talosctl config endpoint <controlplane_ip>

Get kubeconfig and set KUBECONFIG:

talosctl -n 192.168.1.100 kubeconfig $PWD/configs/kubeconfig
export KUBECONFIG=$(realpath configs/kubeconfig)

For applying updated config to node:

talosctl apply-config --nodes <node_id> --file configs/controlplane.yaml

Upgrading talos or changing the schematic:

talosctl upgrade --nodes <node_id> --image factory.talos.dev/metal-installer/<schematic_id>:<version>

To upgrade kubernetes or inline manifests, first apply the updated controlplane configs, then run:

talosctl upgrade-k8s
Description
No description provided
Readme 423 KiB
Languages
Shell 51.1%
Python 48.9%