# Shell

> A Linux and Kubernetes platform designed end to end, from identity to monitoring, with contracts, validators and written decisions.

- Type: Selected work by Maximilian Mitterbauer
- Stack: Terraform, Ansible, K3s, Cilium, Argo CD, Prometheus
- Source: https://github.com/max-vie/shell
- Page: https://www.mitmax.at/projects/shell/

The text below is quoted from the project page, where Maximilian Mitterbauer writes in the first person.

## What

A complete Linux and Kubernetes platform, written as source. Two independent K3s clusters, one on GCP and one on a nested Proxmox host, with shared identity, a signed artifact supply, GitOps delivery, monitoring and backups.

## Why

I wanted to design a platform the way a team would run one. Every area has one owner, every input is locked, every change goes through a guarded controller, and every choice is written down with its reasons.

## How

Six areas, checked in dependency order. SUDO and TAR feed INIT, INIT feeds MAKE, MAKE feeds WATCH, and MAN records why. One make check runs each area’s validators and tests. Provider state and running clusters need their own evidence, and the repo says so.

## Areas

- SUDO, Identity and trust: Access profiles, private-input handoffs, the offline trust certificate and the K3s server tokens. Contract shapes are public; secrets never enter the repo.
- TAR, Artifacts: Every version, checksum and image digest the platform consumes is locked, validated and staged before INIT, MAKE or WATCH may use it.
- INIT, Hosts and clusters: Terraform roots for GCP, a nested Proxmox host and two independent three-server K3s clusters, with Ansible configuring and verifying each guest.
- MAKE, Workloads: Everything that changes the clusters: Argo CD, Harbor, OpenBao, Keycloak, signed-image admission with Cosign and Kyverno, and Velero backups.
- WATCH, Monitoring and recovery: Alert rules, tracing and load-test policy, plus read-only verifiers. WATCH observes and records evidence; it never mutates a workload.
- MAN, Decisions and runbooks: Why the platform is shaped this way: 19 architecture decisions, the node topology and recovery runbooks. MAN provisions nothing.

## Stack in detail

- Infrastructure: Terraform, Ansible, GCP, Proxmox
- Kubernetes: K3s, Cilium, Kube-VIP
- Delivery: Argo CD, Harbor, Forgejo
- Identity and trust: FreeIPA, Keycloak, OpenBao, Cosign, Kyverno
- Operations: Prometheus, Grafana, Tempo, OpenTelemetry, Velero
- Checks: Python validators and unittest, GitHub Actions

Read the source: https://github.com/max-vie/shell. The repository is public under the MIT License.
