Skip to content

GitOps principles to define kubernetes cluster state via code

License

Notifications You must be signed in to change notification settings

wrmilling/k3s-gitops

Folders and files

NameName
Last commit message
Last commit date
Mar 19, 2025
Mar 20, 2025
Feb 20, 2025
Apr 2, 2025
Mar 24, 2025
Mar 18, 2025
Feb 25, 2025
Apr 1, 2025
Mar 31, 2025
Apr 1, 2025
Apr 1, 2025
Feb 14, 2024
Apr 2, 2025
Mar 19, 2025
Feb 20, 2022
Aug 21, 2021
Feb 14, 2024
Mar 6, 2024
Feb 3, 2021
Mar 20, 2025

Repository files navigation

k3s-gitops

Image used with permission from k8s-at-home

k3s GitHub Stars GitHub Last Commit Home Operations Discord

Using GitOps principals and workflow to manage a lightweight k3s cluster.

πŸ“–  Overview

k3s Nodes

This repository utilizes Flux2 to implement GitOps principals and define the state of my cluster using code.

πŸ’»  Infrastructure

Setup for the individual nodes is now via NixOS and my nixos-configuration repository. Individual node names from the screenshot in overview can be searched for under the hosts directory of the aforementioned repo.

The current cluster consists of one (1) virtual master node, hosted on my TrueNAS Scale NAS, three (3) Minisforum UN100C mini-PCs, and one (1) BMax B4 Plus mini-PC. The mini-PCs double as both compute and ceph nodes.

βš™οΈ  Setup

Setup for Flux2, secrets, and the rest of the GitOps workflow can be found here under the setup directory.

πŸ”§  Namespaces

🀝  Credits + Community

A huge thanks to the community at Home Operations via discord chat. Home Operations Logo image used with permission, check out the community for some awesome and helpful people.