Files
gitops/talos
2024-02-12 23:42:04 +00:00
..
2024-02-12 23:42:04 +00:00
2024-02-10 00:51:39 +00:00
2024-02-10 00:51:39 +00:00

Prerequisites

Commands

  • talosctl -n 192.168.1.101 apply-config -f controlplane.yaml --insecure
  • talosctl --nodesn.168.1.101 -e 192.168.1.101 --talosconfig=./talosconfig bootstrap
  • talosctl --talosconfig ./talosconfig -n 192.168.1.101 -e 192.168.1.101 kubeconfig
  • flux bootstrap git --private-key-file=/config/.ssh/gitea --url ssh://git@gitea.home.joemonk.co.uk:2222/joe/gitops.git --branch main --path=clusters/talos

Patching

First create the patch file i.e.

cluster:
  network:
    cni:
      name: none

Then apply the patch to the control plane yaml

talosctl machineconfig patch controlplane.yaml --patch @patch.yaml -o controlplane.yaml

And apply that control plane yaml with

talosctl --talosconfig ./talosconfig -n 192.168.1.101 -e 192.168.1.101 apply-config -f controlplane.yaml

Cilium

helm repo add cilium https://helm.cilium.io/ helm repo update