infrastructure/flux
Vivian eda5075f08 Add 'flux/' from commit '57e0c3e15534303076055628a469603c385f383a'
git-subtree-dir: flux
git-subtree-mainline: 4d0b7496d6
git-subtree-split: 57e0c3e155
2021-11-21 13:40:18 +01:00
..
cluster Add 'flux/' from commit '57e0c3e15534303076055628a469603c385f383a' 2021-11-21 13:40:18 +01:00
bootstrap.sh Add 'flux/' from commit '57e0c3e15534303076055628a469603c385f383a' 2021-11-21 13:40:18 +01:00
README.md Add 'flux/' from commit '57e0c3e15534303076055628a469603c385f383a' 2021-11-21 13:40:18 +01:00

Kubernetes Cluster

This is my personal Kubernetes Cluster. Flux watches this git repo and reconciles and changes made to the cluster.

Directory structure

The main directory is cluster, it contains the following subdirectories in the order that flux will apply them:

  • base: the entrypoint for Flux
  • crds: contains the CRDs that are needed for anything running in the cluster, these get applied earlier to make sure they exist
  • core: important core infrastructure applications, grouped by namespace, that should never be pruned
  • apps: common applications that are allowed to be pruned by flux

Bootstrap

The cluster was bootstrapped using the following command:

flux bootstrap git --url=ssh://git@git.xirion.net:2222/olympus/flux.git --branch=main --path=cluster/base/ --ssh-key-algorithm=ed25519 --components-extra=image-reflector-controller,image-automation-controller

References

Heavily inspired by: onedr0p's cluster