Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:A5c ai Babysitter Environment Installation

From Leeroopedia
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.

Related Pages

Implemented By

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment