Getting Started
Yamlr is the Kubernetes Configuration Resolution Plane. It audits, validates, and deterministically heals Kubernetes manifests before deployment.
Yamlr executes 100% locally. Zero cluster credentials required, zero telemetry phoning home, and zero manifest data egressing your environment.
1. Installation
Install Yamlr using the official verified installer script or package managers:
Linux & macOS
bashcurl -fsSL https://get.yamlr.dev/install.sh | bash
Windows (PowerShell)
powershellirm https://yamlr.dev/install.ps1 | iex
Homebrew (macOS / Linux)
bashbrew install yamlr
Verification
Verify that the native binary is installed and operational:
bashyamlr version
Output:
textyamlr 0.1.0 (x86_64-unknown-linux-gnu) Release: v0.1.0 • Schema Catalog: K8s 1.30 (Built-in)
2. Your First Manifest Audit
Navigate to any directory containing Kubernetes manifests and run:
bashyamlr scan .
Yamlr will instantly:
- Parse all standard manifests and Custom Resource Definitions (CRDs).
- Build an in-memory cross-resource topological dependency graph.
- Identify semantic integrity failures (e.g., Service-to-Pod selector mismatches, dead Ingress routes, unmounted Secrets).
- Output actionable diagnostic findings with line references.
Scan mode is strictly read-only. It will never modify files on disk.
3. Deterministic Remediation (Healing)
To preview automated remediations without touching files:
bashyamlr heal manifests/ --dry-run # or inspect the color-coded unified diff: yamlr diff manifests/
To commit verified remediations atomically:
bashyamlr heal manifests/ --apply
If you ever wish to revert changes, execute an instant atomic rollback:
bashyamlr rollback manifests/
4. Built-in Interactive Demo
To test Yamlr's resolution capabilities against intentionally broken manifests without touching your own code:
bashyamlr demo yamlr heal yamlr-demo/ --dry-run
Next Steps
- Explore the CLI Reference for the complete list of flags and governance commands.
- Learn about the Healing Engine and its 3-Tier validation gate.
- Review CI/CD Integration to automate SARIF reports in GitHub Actions.