ON-PREM CHOREO CLOUD BOTH

What it is

wso2cloud-deployment is the repository that describes how Choreo Cloud is run. It holds the Kubernetes manifests for the control plane, the data planes and shared tools, Terraform modules for clusters and infrastructure, CloudFormation templates for private data planes, plus docs and scripts. Flux, a GitOps tool that applies whatever a Git repository says, syncs the manifests into each cluster.

It is the architect's master blueprint for a chain of buildings. The site crews (Flux) do not improvise: they rebuild whatever the blueprint at their pinned page number says.

Why it exists

Cloud environments must be repeatable and reviewable. When everything is in Git, a change is a reviewed commit, and promotion from one environment to the next is a controlled step.

How it works

  • The main branch holds all manifests, Terraform modules and CloudFormation templates. The environment branches (dev, stage, prod, and others such as stage-v2 and prod-v2) are thin: they hold the Flux bootstrap, the Flux Kustomization files with environment-specific values, and that environment's Terraform deployments, not the manifests themselves.
  • dev follows main. stage and prod pin the repository to one commit through a base.yaml GitRepository, so a change reaches them only when that pin moves.
  • Agent Manager's own SaaS components (agent-manager-service, agent-manager-console and agent-manager-provisioner) live under controlplane/common/domains/developers/namespaces/wso2cloud/projects/agent-manager as OpenChoreo component definitions and release bindings.
  • A CI/CD system on the control plane (Argo Events and Argo Workflows) builds images and updates the release bindings.
  • cloudformation/pdp holds the templates that provision private data planes (PDP).

Key facts

Repository
wso2cloud-deployment
Tools
Flux, Terraform, CloudFormation
Branches
main (source) and thin environment branches (dev, stage, prod, stage-v2, prod-v2 and others)
Promotion
Moving the base.yaml pin on stage or prod
Edition
Choreo Cloud (SaaS)
Namespace
all SaaS clusters

Talks to (2)