Principle:A5c ai Babysitter Environment Installation
| Knowledge Sources | |
|---|---|
| Domains | Kubernetes, Environment_Installation |
| Last Updated | 2026-10-23 00:00 GMT |
Overview
A method for installing a Kradle environment by applying Terraform infrastructure and Helm charts, with dry-run and status verification support.
Description
Environment Installation is the principle of orchestrating infrastructure application from a deployment plan. It writes rendered files to disk, optionally applies Terraform and Helm, and queries live cluster status. The dryRun and renderOnly flags allow file generation without mutation, enabling review before application.
After installation, getEnvironmentStatus queries the live cluster via kubectl to verify that deployments, services, ingresses, and PVCs are healthy.
Usage
Use this principle when installing Kubernetes environments where infrastructure application should be gated behind dry-run review.
Theoretical Basis
The installation flow is a staged application:
1. writeFiles(terraform, kubernetes, helmValues)
2. if dryRun or renderOnly: return rendered files
3. terraformApply(plan, terraformDir)
4. helmInstall(plan, valuesPath)
5. optionally: configureProviders, installAgents
6. getEnvironmentStatus(config) -> live resource status
Key property: The installation is idempotent — terraform apply and helm upgrade are safe to re-run. The status check provides post-installation verification.