GitOps-managed Kubernetes infrastructure for AI-powered applications. Secure, reproducible, and ready to modify with your favourite AI coding assistant.
The interactive wizard handles everything: cluster provisioning, Flux installation, secret encryption, and first reconciliation.
Run npx gitops-ai bootstrap or pipe the bash script to bash to get Node.js if needed, then launch the interactive TUI wizard. Pick your components, enter credentials, and the CLI does the rest.
The template is forked into your GitLab or GitHub namespace. Cluster manifests, Helm values, and SOPS-encrypted secrets are committed automatically.
Flux Operator watches your repo and applies every change. Push a commit and the cluster updates. Manual drift is auto-corrected.
Every decision follows NSA Kubernetes hardening guidelines and GitOps best practices.
Non-root containers, read-only filesystems, dropped capabilities, and network policies isolating every workload. Secrets encrypted at rest with SOPS/Age before they touch Git.
Your entire cluster is defined in Git. Every change is versioned, reviewable, and reversible. Roll back infrastructure by reverting a commit.
Same bootstrap, identical cluster, every time. Flux auto-corrects drift within minutes. No manual kubectl apply ever needed.
Add worker nodes, drop in new components like Lego blocks. Need a database, queue, or AI model? Add a HelmRelease and push. Flux deploys it automatically.
Your infrastructure is YAML and Helm values. Describe what you want in natural language, commit the result, and Flux applies it to the cluster.
The bootstrapper clones a battle-tested template into your namespace. Flux watches your repo and keeps the cluster in sync.
git push
Source of truth
Reconciles state
Encrypted at rest, decrypted in-memory
Drift auto-corrected on every cycle
Manages controller lifecycle
A battle-tested GitOps structure with Helm values, Kustomization overlays, and SOPS config. You never modify this repo directly — it receives upstream improvements and security patches.
View on GitHubA fork cloned into your GitHub or GitLab namespace. This is your single source of truth. All cluster changes flow through Git — versioned, reviewable, and reversible.
Edit a HelmRelease, update values, or add a component. Commit and push to your GitOps repo.
source-controller polls your repo and pulls the new revision automatically.
kustomize-controller renders and applies resources. SOPS secrets are decrypted in-memory using the age key stored in the cluster.
helm-controller processes HelmRelease changes, upgrading or installing charts with your values.
If someone manually modifies a resource, Flux reverts it to match Git on the next cycle. No manual kubectl apply ever needed.
All sensitive values (API tokens, keys) are encrypted with SOPS/Age before being committed. The private key exists only in the cluster and on the bootstrap machine.
Non-root users, read-only root filesystems, and dropped capabilities following NSA Kubernetes hardening guidelines.
NetworkPolicy resources limit pod-to-pod communication. Ingress is restricted to CIDR ranges you specify during the wizard.
Flux authenticates over HTTPS using a GitLab or GitHub PAT scoped to minimum permissions. No SSH keys or cluster-to-internet exposure.
ServiceMonitor and PodMonitor custom resources are installed by default. Every component ships ready-made scrape targets -- add Prometheus and metrics are collected instantly.
Enable Grafana as an optional component to get pre-built dashboards for cluster health, ingress traffic, and Flux reconciliation status.
Flux Web UI shows reconciliation status for every component. Failed deployments and drift corrections surface immediately -- no digging through logs.
No YAML to write. The bootstrap wires everything together -- service discovery, scrape intervals, and dashboard provisioning are handled automatically.
The wizard lets you select which components to install. Required ones are always included; optional ones are your choice.
External HTTP/HTTPS ingress
Auto TLS via Let's Encrypt
DNS records in Cloudflare
Dashboard for Flux status
AI assistant gateway
VictoriaMetrics stack and Grafana
PostgreSQL, Redis, RabbitMQ, Ollama, or any Helm chart. Add a HelmRelease, push, and Flux deploys it.
Run on a bare Ubuntu server or locally on macOS. The bootstrap installs all dependencies.
2+ CPU cores, 4+ GB RAM, 20+ GB disk. Ubuntu 25.04+ or macOS.
GitLab or GitHub PAT (required), Cloudflare API Token (optional), OpenAI Key (optional).
Node.js 18+. Docker runtime on macOS (Docker Desktop, OrbStack, or Colima).
Open your terminal, copy npx or switch to the install script, and the wizard handles the rest.