Kubernetes API-first
Why a persistent Kubernetes API resource changes the infrastructure lifecycle.
What is the product? · Follow a run · See the responsibilities
Imagine a Terraform pipeline that applies a change successfully. The following week, someone changes the resource in the cloud console. Who notices the difference? Which version should take precedence? Can the correction run automatically, or should it go through the original approval process?
With an IaCStack, the desired state remains declared in the Kubernetes API after the workflow finishes. You register which code to run, with which inputs, and which workflow governs the stack. The controller watches that intent and coordinates new attempts when the declaration changes or a drift check is due. The pipeline still creates and applies the plan, and the result is available on the stack itself.
kubectl, or a self-service form. The platform controls the available aliases and identities, and the team can follow the result through the Kubernetes API.The controller coordinates dependencies, retries, suspension and deletion. Terraform or OpenTofu computes and applies the change. The pipeline owns target validation, and the backend stores and protects state. How it works
If a GitHub Actions pipeline already manages your infrastructure, first map the steps it performs today. A typical pipeline checks out code, selects a backend, runs plan, waits for approval, and applies. You can reuse the modules, scripts, runner image, and governance logic where they fit the new execution environment.
WorkflowTemplate. The pipeline receives the stack intent and reports the effective revision and result through the iacstack CLI or the execution contract.spec.workflowRef.name.NoChanges. Investigate unexpected changes before applying.Bring your own workflow · Execution contract
In GitOps, the desired state is versioned in Git, and an agent watches the repository and syncs the declarations. The object being synced here can be the IaCStack itself. Think of it as three steps, each with an owner:
IaCStack manifest to the Kubernetes API.For example, a team can review a change from instance_count: "2" to "3" through its existing PR process. Merging accepts the manifest change in Git. If the selected pipeline also requires plan approval, that decision happens in the workflow once the actual impact is known.
A GitOps agent looks for differences between Git and the Kubernetes object. A stack drift check compares the managed resource with the IaC configuration. The manifest can be in sync while a resource in AWS is still awaiting correction. For a quick trial, apply the manifest directly with kubectl.
OpenGitOps principles · Architecture
Want to try delivery from Git? Sync a lab stack with Argo CD.
Compare workflow ownership and adoption models across IaC Stack Controller, Tofu Controller and Burrito.
Why a persistent Kubernetes API resource changes the infrastructure lifecycle.
Compose the controller with IDPs, GitOps and self-service interfaces.
Compare workflow ownership and brownfield adoption across Kubernetes IaC controllers.