Skip to content
faberopsPublic

About

Open source Kubernetes operator for reliability, security and operations with zero-egress gVisor and NVIDIA OpenShell sandboxes and Proba console

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

283 Commits

Folders and files

Repository files navigation

Faber

Faber by FaberOps: Open Source Operator for Reliability, Security and Operations
Kubernetes, infrastructure and application code automation with zero-egress gVisor and NVIDIA OpenShell sandboxes, SHA-256 verdict digests and human-reviewed Pull Requests.

Website · Live Proba demo · Benchmarks · Post-quantum TLS · 7-day pilot · Signed Catalog · Docs


Faber (faberops.dev/v1beta1) is an autonomous reliability, security, and operations operator for Kubernetes, infrastructure (Terraform and OpenTofu), and application code (language-agnostic bring-your-own container validators across Java, C/C++, Rust, Go, Python, Node, and .NET).

It ships as a single static CGO_ENABLED=0 Go controller binary (~64Mi memory request), an optional decoupled web console (Proba, ghcr.io/faberops/proba), and the faberctl operator CLI. Faber diagnoses incidents within hard token and cost caps, validates fixes offline in zero-secret, zero-egress sandboxes, binds every sandbox outcome with a SHA-256 evidence verdict digest, and opens reviewable Pull or Merge Requests on GitHub, GitLab, Forgejo, and Gitea.

Start in Shadow Mode (Observe trust) with zero write permissions in five minutes, review the 7-day Shadow Scorecard, and raise trust ceilings only on verified evidence.

Three-Layer Safety Model

  1. Read-only by default and zero-secret boundaries: Default workload RBAC is strictly read-only, core v1 Secret access is unconditionally blocked, and $0 deterministic preChecks short-circuit healthy runs before waking an LLM. The standalone Proba web console holds zero cluster secrets and zero Kubernetes API access, talking only to faber-controller over /api/v1 with optional --ui-read-only or --ui-enabled=false controls.
  2. Zero-egress validation sandboxes: Untrusted code edits and manifest, infrastructure, security, or application validation run inside ephemeral kubernetes-sigs/agent-sandbox pods (with optional gVisor kernel isolation) or native NVIDIA OpenShell sandboxes with zero secrets, zero network egress, offline kubeconform, Trivy, Kyverno, Pluto, Terraform and OpenTofu (tofu validate, tflint), or your own BYO container validator image.
  3. Single trust formula, verdict digest gate, and kill switch: Effective autonomy is computed by one deterministic formula min(requested, playbookCeiling, trustPolicyCeiling, earnedLevel) defaulting to HITL. Every mutating action requires a verified status.evidence SHA-256 verdict digest and passes server-side dryRun=All where applicable. Post-merge verification (PostMergeVerifier) records status.verification, drives evidence-gated promotion, auto-demotes on failure or revert, and stops immediately when you run faberctl pause --all.

5-Minute Local Demo (kind)

Try Faber and Proba locally with no repository clone and no local image builds. Create a kind cluster, install the signed OCI chart in Shadow Mode (Observe trust), and open Proba at http://127.0.0.1:8081:

kind create cluster --name faber-demo --wait 90s
helm upgrade --install faber oci://ghcr.io/faberops/charts/faber \
  --version 2.4.9 \
  --namespace faber \
  --create-namespace \
  --set proba.enabled=true \
  --wait
kubectl -n faber port-forward svc/faber-proba 8081:80

See the full zero-clone walkthrough (including an inline offline mock LLM with no API key required and a synthetic ImagePullBackOff incident) in 5-Minute kind Demo.

Quickstart: Tier 0 Read-Only to Tier 1 Sandboxed PRs

Stage 1: Tier 0 Read-Only Audit (No Git Forge or Sandbox Required)

Try Faber safely on any Kubernetes cluster with zero write permissions. See the full Tier 0 Quickstart.

  1. Install the Cosign-signed OCI Helm chart (single-replica SQLite mode, with Proba enabled):
helm upgrade --install faber oci://ghcr.io/faberops/charts/faber \
  --version 2.4.9 \
  --namespace faber \
  --create-namespace \
  --set proba.enabled=true
  1. Create an LLM API key Secret, a namespace-default Connector, and a starter Playbook plus Automation:
kubectl -n faber create secret generic faber-llm --from-literal=apiKey="$OPENAI_API_KEY"
apiVersion: faberops.dev/v1beta1
kind: Connector
metadata:
  name: default-llm
  namespace: faber
spec:
  type: llm
  default: true
  url: https://api.openai.com/v1
  capabilities:
    - read
  secretRef:
    name: faber-llm
    key: apiKey
  config:
    protocol: openai
    model: gpt-5-mini
---
apiVersion: faberops.dev/v1beta1
kind: Automation
metadata:
  name: cert-and-secret-watch
  namespace: faber
spec:
  playbook:
    oci: ghcr.io/faberops/catalog/playbooks/cert-and-secret-watch:2
  trust: Observe
  1. Check cluster health with faberctl status --wait, stream runs with faberctl observe, or open Proba with faberctl proba.

Stage 2: Tier 1 Sandboxed PRs (Kubernetes, Terraform/OpenTofu, and App Code)

Upgrade to sandboxed edits and Pull or Merge Requests when ready. See the full Tier 1 Quickstart and Git Forges.

  1. Enable the bundled kubernetes-sigs/agent-sandbox subchart and Faber's SandboxTemplate (sandbox.runtimeClassName defaults to empty for universal compatibility, add --set sandbox.runtimeClassName=gvisor on clusters with gVisor):
helm upgrade --install faber oci://ghcr.io/faberops/charts/faber \
  --version 2.4.9 \
  --namespace faber \
  --set agentSandbox.enabled=true \
  --set sandbox.enabled=true
  1. Scaffold your Repository, Connector, and starter Playbook manifests with faberctl init:
go install github.com/faberops/faber/cmd/faberctl@latest

faberctl init \
  --repo my-org/cluster-gitops \
  --forge github \
  --model-provider openai \
  --out-dir ./faber-gitops

Core Building Blocks (7 v1beta1 CRDs)

Faber organizes every integration, safety contract, and execution record into 7 namespaced faberops.dev/v1beta1 CRDs (categories=faber, see CRD API Reference and ADR 0001):

  • Connector (fconn): Single typed external endpoint inventory (llm, prometheus, loki, victorialogs, alertmanager, grafana, pagerduty, hubble, tetragon, slack, matrix, webhook, mcp). kubectl get fconn is your complete egress inventory.
  • Repository (frepo): GitOps, infrastructure (Terraform/OpenTofu), Helm, or application code repository with forge credentials, zero-egress validator (base, security, iac, or BYO container image), guardrails, ownership overrides, and .faber/rules.md active learning.
  • Playbook (fpb): Versioned operational content and machine-enforced safety contract (triggers, $0 preChecks, prompt, strict outputSchema, typed actions[] with per-action ceiling, blastRadius, and rollback, requires, and fixturesDigest).
  • Automation (fauto): Team binding that connects a Playbook (or OCI catalog ref) to Repository and TargetCluster targets, requested trust level, and earned trust status (status.trust[]).
  • AutomationRun (frun): Auditable execution record holding status.trustDecision, cryptographic status.evidence (verdict digest, sandbox claim, egress hosts, validator exit code, dry-run status), and post-merge status.verification.
  • TrustPolicy (ftp): Security-owned governance object setting autonomy ceilings per action class, protected workloads, change freezes, budgets, approver quorums, and promotion or demotion thresholds.
  • TargetCluster (ftc): Remote Kubernetes cluster target (apiServer or kubeconfigSecretRef) for multi-cluster read-only inspection.

Catalog, Operational Memory, and Proba

  • Catalog (playbooks/, connectors/, signatures/, validators/): Versioned OCI packs with machine-enforced safety contracts and five mandatory offline eval kinds (positive, negative_noop, safety_refusal, degraded_upstream, regression_bad_diff). Run faberctl catalog search, inspect, install, validate, build, and publish. See FaberOps Catalogs.
  • Operational Memory: Zero-extra-pod full-text memory backed by SQLite FTS5 or PostgreSQL tsvector, with pre-persistence PII and secret redaction, Gold/Silver/Bronze quarantine, /faber remember PR capture, and strict AST isolation from trust promotion. See Operational Memory.
  • Proba Web Console: Standalone zero-secret console (ghcr.io/faberops/proba) running unprivileged nginx with controller-only egress, live SSE run inspection, Catalog browser, and Shadow Scorecard export. See Proba Web Console.
  • eBPF Connectors: First-class Cilium Hubble Relay and Tetragon gRPC Connectors for kernel-level drop triage, runtime security briefs, and postCheck flow verification with no privileged Faber DaemonSet.

Documentation

Browse the full documentation index at docs/README.md:

Section Guide Covers
Start 5-Minute kind Demo Repeatable local kind setup, Shadow Mode incident, Scorecard, Proba
Start Tier 0 Quickstart Read-only cluster audit with SQLite and zero write permissions
Start Tier 1 Quickstart Sandboxed manifest, IaC, and app code PRs with agent-sandbox
Start Upgrading Chart-first upgrades and clean v2.0.0 deployment
Concepts Architecture Split control/execution planes, 7 v1beta1 CRDs, Proba, Ownership, extensibility
Concepts Threat Model Zero-egress sandboxes, verdict digest gate, RBAC boundaries, signing
Guides FaberOps Catalogs Catalog (playbooks, connectors, signatures, validators), safety contracts, 5 eval kinds, faberctl catalog
Guides Operational Memory SQLite FTS5 / Postgres tsvector, Gold/Silver/Bronze quarantine, redaction, /faber remember, faberctl memory
Guides Proba Web Console Standalone ghcr.io/faberops/proba Deployment, faberctl proba, zero secrets, nginx SSE proxy
Guides Triggers & Pre-Checks Alertmanager, Grafana, PagerDuty, Cilium Hubble/Tetragon, logs, metrics, CloudEvents, $0 preChecks
Guides Actions & Trust Gradient Single trust formula, TrustPolicy, Verdict Digest Gate, PostMergeVerifier, Shadow Scorecard, freezes, kill switch
Guides Sandbox Variants Base faber-sandbox, security (Trivy/Kyverno/Pluto), iac (Terraform/OpenTofu), and BYO app containers
Guides Active Learning & Correlation Closed-loop .faber/rules.md learning PRs and cross-service correlation
Guides Code Mode & Read-Only Tools Starlark run_script and batch(), read-only Kubernetes, MCP, and OCI registry tools
Guides Git Forges GitHub App, GitHub PAT, GitLab, Forgejo, and Gitea setup
Guides GitOps Engines & Storm Guards Flux v2 and Argo CD packs, 3-layer storm guard, validators, offline evals
Guides HITL Approvals WaitingApproval checkpoints, Slack interactive quorums, Proba/CLI sign-off
Guides SQLite & PostgreSQL HA SQLite WAL vs multi-replica PostgreSQL HA and leader election
Guides AuthN, RBAC & Multi-Tenancy `--auth-mode=none
Guides Ownership ACLs & Quorums $0 Ownership resolver, OwnerACLConfig, multi-approval quorums, ValidatingAdmissionPolicy
Guides Multi-Cluster & Federated Fleet TargetCluster CRD and outbound-only Fleet Hub/Spoke sync
Guides Observability Prometheus /metrics, PrometheusRule, OTel tracing, Grafana dashboard
Reference CRD API, faberctl CLI, Helm Values Complete auto-generated CRD and CLI docs plus 100% Helm chart values parity

Operator CLI (faberctl)

faberctl provides Cilium-grade status, diagnostics, live event observation, console access, catalog operations, memory management, and executive scorecards. See the full faberctl CLI Reference.

faberctl status --wait
faberctl doctor
faberctl observe
faberctl proba
faberctl catalog search --category playbooks
faberctl scorecard --days 7 -o markdown
faberctl memory list
faberctl pause --all --reason "maintenance window"

Security, Verification, and Contributing

  • Supply-chain and sandbox security: Tier 1 edits validate offline inside zero-secret, zero-egress sandboxes and carry a SHA-256 verdict digest in AutomationRun.status.evidence. Multi-arch images (ghcr.io/faberops/faber-controller, ghcr.io/faberops/proba, ghcr.io/faberops/faber-sandbox) and oci://ghcr.io/faberops/charts/faber carry SBOM/SLSA provenance and keyless Cosign signatures. See SECURITY.md and Threat Model.
  • Offline evals: Run make eval to replay golden fixtures offline through the real engine, governors, CEL router, and diff gates.
  • Development: See CONTRIBUTING.md and examples/packs/README.md.

Ecosystem

NVIDIA Inception Program

FaberOps is a member of NVIDIA Inception, supporting our work on sovereign open-weights inference, native NVIDIA OpenShell sandbox support, and reproducible Kubernetes ops evaluations (288-run open-weights benchmark).

License and Commercial Licensing

Faber is dual-licensed to support sustainable open-source maintenance alongside permissive community catalog adoption:

  • Faber Operator, Controller, Proba Web Console, CLI, and Helm Chart (faberops/faber): Dual-licensed under GNU AGPL v3.0 or later (AGPL-3.0-or-later) OR a FaberOps Commercial License.
  • Official FaberOps Catalog (faberops/catalog): Licensed under the Apache License 2.0 (Apache-2.0) so teams can fork, customize, and publish Playbooks, Connectors, FailureSignatures, and Validators without AGPL-3.0 obligations.

For enterprise licensing (AGPL-3.0 exemption, white-label and attribution-off defaults, and support SLAs), see COMMERCIAL-LICENSE.md or email sales@faberops.dev.


Built in the EU. NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.

About

Open source Kubernetes operator for reliability, security and operations with zero-egress gVisor and NVIDIA OpenShell sandboxes and Proba console

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages