The /setup directory contains all the components needed to bootstrap the Kubernetes cluster:
Contains Helmfile configurations for initial cluster bootstrapping:
helmfile.d/00-crds.yaml- Extracts CRDs from Helm charts before Flux starts (uses postRenderer to automatically filter CRDs)helmfile.d/01-apps.yaml- Core apps (Cilium CNI, CoreDNS, cert-manager, Flux)
Flux GitOps configuration files which are the entrypoint for flux operating the cluster from this repo. It also contains all of the shared OCIRepository and HelmRepository definitions used by various HelmReleases in the cluster. It is necessary to ensure that the Helm repositories are available before the HelmReleases are applied.
Talos Linux configuration for all cluster nodes. See talos/ for details on the nodes and talos configuration
(run from the repo root)
Use talhelper to generate the config files in the clusterconfig directory.
task talos:generate-clusterconfigBootstrap the talos nodes. It may take some time for the cluster to be ready.
task k8s-bootstrap:talosBootstrap the kubernetes cluster with required prerequisites (cilium CNI, CRDs, flux, etc).
task k8s-bootstrap:apps