Linder, Simon and Stutz, Ramon (2025) Infrahub meets K8s. Other thesis, OST Ostschweizer Fachhochschule.
FS 2025-BA-EP-Stutz-Linder-Infrahub meets K8s.pdf - Supplemental Material
Download (5MB)
Abstract
As part of the "Infrahub meets K8s" project, an automated system for configuration and deployment management in Kubernetes environments was designed and implemented. At its core, the system utilizes Infrahub as a centralized inventory system and authoritative source of truth, where the desired state of Kubernetes resources is defined. A custom Kubernetes Operator, VIDRA, continuously monitors this desired state and ensures its reconciliation by automatically deploying the corresponding resources into the Kubernetes cluster. With this approach, it becomes feasible to manage the entire infrastructure of a company declaratively and consistently through Kubernetes, enabling streamlined operations and improved scalability.
System Components:
- Infrahub: Central inventory system and source of truth for all Kubernetes configurations.
- VIDRA Operator: A custom Kubernetes Operator written in Go (using the Operator SDK), responsible for continuously reconciling the desired state from Infrahub and applying changes to the cluster.
- Python Transformers: Modules that convert Infrahub's structured infrastructure data into valid, deployable Kubernetes manifests.
- Flask Web Interface: A lightweight, user-friendly frontend that allows self-service infrastructure requests.
- VIDRA CLI: A terminal-based command-line interface built with Cobra for interacting with the VIDRA Operator.
Key Features:
- Automated Deployment: Enables streamlined and hands-off provisioning of infrastructure and configuration.
- State Reconciliation: Ensures that the actual state in the Kubernetes cluster always matches the declared state in Infrahub, detecting and resolving configuration drift automatically.
- Centralized Management: Offers unified visibility and control over infrastructure resources through a single, authoritative source of truth.
Conclusion:
The “Infrahub meets K8s” project presents a modern, extensible framework for infrastructure automation in Kubernetes-based environments. By unifying centralized configuration management in Infrahub with continuous deployment and reconciliation via the custom VIDRA Operator, the system embodies core GitOps principles.
| Item Type: | Thesis (Other) |
|---|---|
| Subjects: | Technologies > Programming Languages > Python Technologies > Programming Languages > Java Script Technologies > Databases Technologies > Web > HTML |
| Divisions: | Bachelor of Science FHO in Informatik > Bachelor Thesis |
| Depositing User: | OST Deposit User |
| Date Deposited: | 29 Sep 2025 10:47 |
| Last Modified: | 29 Sep 2025 10:47 |
| URI: | https://eprints.ost.ch/id/eprint/1299 |
