theshire/kubernetes/bootstrap
Joseph Hanson 1fa5fbfe38
Update bootstrap Readme.
Includes helmfile to replace cilium command.
2024-05-02 06:06:02 -05:00
..
flux Update Flux group to v2.2.3 2024-02-05 15:01:40 +00:00
kps-crds bootstrap kps crds 2024-02-16 09:52:29 -06:00
talos/apps revert nvdp v0.15.0 --> v0.14.5 2024-04-22 11:28:31 +00:00
readme.md Update bootstrap Readme. 2024-05-02 06:06:02 -05:00

Bootstrap

Prerequisites

brew install helmfile
helm plugin install https://github.com/databus23/helm-diff

Talos

Bootstrap talos cluster

omnictl cluster template sync -f ./omni-homelab-export.yaml --omniconfig ./omniconfig.yaml

CNI & Container Proxy

Install Cilium & Spegel

helmfile apply -f kubernetes/bootstrap/talos/apps/helmfile.yaml

Flux Prep

Install Flux

kubectl apply --server-side --kustomize ./kubernetes/bootstrap/flux

Apply secrets, settings, and crds.

These cannot be applied with kubectl in the regular fashion due to be encrypted with sops

sops --decrypt kubernetes/bootstrap/flux/age-key.sops.yaml | kubectl apply -f -
sops --decrypt kubernetes/bootstrap/flux/git-deploy-key.sops.yaml | kubectl apply -f -
sops --decrypt kubernetes/flux/vars/cluster-secrets.sops.yaml | kubectl apply -f -
kubectl apply -f kubernetes/flux/vars/cluster-settings.yaml

Wipe Rook Ceph

kubectl apply -f kubernetes/tools/wiperook.yaml

Kick off Flux applying this repository

kubectl apply --server-side --kustomize ./kubernetes/flux/config