-
Notifications
You must be signed in to change notification settings - Fork 0
Kubernetes Architecture
Kubernetes output is selected through the Praxis Pro kubernetes capability or implied by Terraform. It expresses workload-level deployment concerns for the chosen stack and resolved capabilities.
The base includes namespace, service account, API Service/Deployment, ConfigMap, network policy, PostgreSQL, and Kustomize assembly. Django and Go overlays provide stack-specific commands, probes, configuration, and migrations.
- background jobs add a worker Deployment;
- scheduled jobs add a scheduler workload;
- seed and load testing add explicit tool Jobs;
- Redis, search, object storage, Prometheus, OpenTelemetry, ELK, and synthetic monitoring add their services/configuration;
- autoscaling adds an HPA;
- high availability adds a PodDisruptionBudget;
- cloud secrets adds an ExternalSecret contract;
- Nginx adds traffic-facing resources.
flowchart LR
Kustomize --> API[API Deployment]
Kustomize --> Worker[optional Worker]
Kustomize --> Scheduler[optional Scheduler]
Kustomize --> Jobs[optional migration/seed/load Jobs]
API --> Service
API --> Config[ConfigMap and Secrets]
API --> Managed[database/cache/integrations]
HPA --> API
PDB --> API
Liveness detects a stuck process; readiness prevents traffic before dependencies are usable. Termination grace and application signal handling must agree so requests drain before clients/pools close. Workers and schedulers have independent probes and termination behavior.
Terraform may provision a cluster, registry, networking, managed database/cache/storage/search, and secret backends. Kubernetes manifests deploy workloads into that foundation and reference endpoints/credentials supplied through deployment configuration. Terraform does not automatically apply Kustomize, and Kubernetes does not own cloud resource creation.
- Module:
cli/templates/pro.kubernetes/ - Capability closure:
cli/src/config/pro.ts - Matrix:
cli/tests/generator/proMatrix.test.ts
This Wiki is generated from the repository's versioned docs/ source. Update and review the source files; do not rely on hand edits to generated Wiki pages.
- Core-Internals
- Architecture
- Repository-Map
- Code-Architecture
- Generation-Pipeline
- Manifest-System
- UI-Templates
- Testing
- Agent-Guide
- Wiki-Publishing
- Template-Architecture
- Standard-Projects
- Standard-Frontend-Architecture
- Express-Architecture
- Fullstack-Architecture
- Praxis-Pro
- Django-Architecture
- Gin-Architecture
- Capability-Architecture
- Compose-Architecture
- Kubernetes-Architecture
- Terraform-Architecture
- Extending-Generated-Projects
- Generated-Backends