kast-system Documentation¶
Welcome to kast-system - Kubernetes Arcane Spelling Technology, a Test-Driven Development framework for Helm-based deployments.
What is kast-system?¶
kast-system is a comprehensive GitOps framework that combines:
- Glyphs: Reusable Helm templates for infrastructure (Vault, Istio, Cert-Manager, etc.)
- Kaster: Orchestration chart that coordinates multiple glyphs
- Summon: Base chart for workload deployments (Deployment, StatefulSet, Job, etc.)
- Librarian: ArgoCD App of Apps orchestrator
- Bookrack: Configuration management with book/chapter/spell hierarchy
- TDD Testing: Comprehensive test-driven development workflow
Quick Links¶
New to kast-system?
Start with the Navigation Guide for a holistic overview and learning paths.
Get Started:
- ๐งญ Navigation Guide - Holistic documentation map
- ๐ Getting Started Tutorial - Zero to production
- ๐ Glossary - Key terminology
Core Components:
- Summon - Workload deployment chart
- Kaster - Glyph orchestration
- Librarian - ArgoCD Apps of Apps
- Bookrack - Configuration management
Development:
- Testing Guide - TDD methodology
- TDD Commands - Command reference
Architecture Overview¶
Book (bookrack/)
โโ index.yaml # Book metadata
โโ chapters/
โโ spell.yaml # Application config
โ
Librarian (ArgoCD)
โโ Reads spell files
โโ Generates Applications
โ
Helm Charts
โโ Kaster โ Glyphs โ Resources
โโ Summon โ Workloads
โโ Trinkets โ Patterns
โ
Kubernetes Cluster
Key Features¶
๐ฏ Test-Driven Development¶
All features follow strict TDD methodology:
make tdd-red # Write failing test
make tdd-green # Implement feature
make tdd-refactor # Improve code
๐ง Infrastructure as Code¶
Glyphs provide reusable templates for:
- Vault: Secrets management
- Istio: Service mesh
- Cert-Manager: TLS certificates
- PostgreSQL: Managed databases
- S3: Object storage
- And more...
๐ GitOps Ready¶
Designed for ArgoCD-first deployment:
- Book/chapter/spell configuration hierarchy
- Automatic multi-source detection
- Lexicon-based infrastructure discovery
- Environment-specific overrides
๐งช Comprehensive Testing¶
- Syntax validation
- Resource completeness checks
- Snapshot testing
- Kubernetes schema validation
- Automatic component discovery
Quick Start¶
# Clone repository
git clone https://github.com/kast-spells/kast-system.git
cd kast-system
# Run tests
make test
# TDD workflow
make create-example CHART=summon EXAMPLE=my-app
make tdd-red # Should fail
# Edit templates
make tdd-green # Should pass
Documentation Structure¶
Navigation
Use the navigation menu on the left to explore documentation by topic.
For a guided learning experience, see Navigation Guide.
By Experience Level:
- Beginners: Getting Started โ Glossary โ Summon
- Intermediate: Core Components โ Glyphs โ Testing
- Advanced: Glyph Development โ Trinkets โ Hierarchy Systems
By Use Case:
- Deploy simple app: Getting Started โ Summon
- Infrastructure integration: Glyphs โ Kaster โ Lexicon
- Multiple applications: Bookrack โ Librarian
- Development & testing: Testing โ TDD Commands
Project Philosophy¶
TDD First¶
Every feature, template, and glyph follows Test-Driven Development:
- RED: Write failing test (define expected behavior)
- GREEN: Implement minimal code to pass
- REFACTOR: Improve while maintaining tests
Simple and Human¶
- No marketing fluff
- Direct technical language
- Working examples
- Compact and scannable
Holistic Design¶
Components work together seamlessly:
- Configuration hierarchy (book โ chapter โ spell)
- Infrastructure discovery (lexicon + runic indexer)
- Template reusability (glyphs)
- Automatic orchestration (librarian)
Community¶
- GitHub: kast-spells/kast-system
- License: GNU GPL v3
Next Steps¶
Choose your path:
I want to deploy my first application
I want to understand the architecture
โ Navigation Guide โ Path 2
I want to develop and test features
โ Testing Guide โ TDD Commands
I want to integrate infrastructure
โ Glyphs Overview โ Glyphs Reference