Cloud deltas¶
The commands, the contracts and the day-0 sequence are the same on every cloud. What differs is the provider field set, the identity model Terraform renders, and the path shapes for the registry and bucket.
Identical on every cloud¶
| The install commands and their flags | prepare, apply, up, and the spec they consume |
| The bundle layout | install.input.yaml, install.spec.json, k8s/, terraform/, xratu/ |
| The Kubernetes manifests rendered | StatefulSet, service accounts, SPIRE substrate, project runtime authority, fabric |
| The enrollment path | Invitation per node label, seed at /var/lib/xratu/identity |
| The kernel control lane | mTLS, SPIFFE identities, runtime.* allowlist |
| The fabric | Agent, ports 7443 and 51820, route contracts |
| Assignment, policy and evidence contracts | Unchanged by provider |
The required provider fields¶
Preparation refuses a spec missing any field its provider requires.
Two identifying fields plus the endpoint, which carries a public default and is the private-network override point.
The two OIDC values are the ones no other cloud needs in this form, and the cluster's IAM OIDC provider must already exist.
A missing field is reported by name:
The identity model¶
| Rendered | Purpose |
|---|---|
google_service_account runtime, build, publish_delegate |
The identities |
google_project_iam_member, google_artifact_registry_repository_iam_member |
Registry write |
google_storage_bucket_iam_member |
Bucket read and write |
google_service_account_iam_member |
Workload identity binding to the Kubernetes service account |
| Rendered | Purpose |
|---|---|
aws_iam_role runtime, build |
The roles assumed through IRSA |
aws_iam_role_policy *_ecr |
Registry pull and push |
aws_iam_role_policy *_s3 |
Bucket read and write |
The role-ARN annotation on the service account is what pairs a pod with its role, and a wrong OIDC value fails after apply rather than during it.
| Rendered | Purpose |
|---|---|
azurerm_user_assigned_identity runtime, build |
The identities |
azurerm_federated_identity_credential |
Federation to the Kubernetes service accounts |
azurerm_role_assignment *_acr_push |
Registry push, scoped by resource ID |
azurerm_role_assignment *_blob_data_contributor |
Blob read and write |
The path shapes¶
| Provider | Registry root | Bucket |
|---|---|---|
| GCP | <region>-docker.pkg.dev/<gcp-project-id>/<repository> |
gcs://<bucket>/<prefix> |
| AWS | <aws-account-id>.dkr.ecr.<region>.amazonaws.com/<repository> |
s3://<bucket>/<prefix> |
| Azure | <acr-name>.azurecr.io/<repository> |
azblob://<account>/<container>/<prefix> |
The scheme is checked against the provider:
See Registry and bucket schemes.
The private endpoint fields¶
| Provider | Fields routed privately on a restricted network |
|---|---|
gcp |
gcp_iamcredentials_endpoint |
aws |
aws_sts_endpoint, aws_ecr_api_endpoint |
azure |
azure_authority_host |
What the delta means across two clouds¶
Two installations differ in their provider block and their Terraform, and agree
on everything a node reports and everything the control plane plans from. A
binding can therefore span them: cluster_identity resolves from the GCP
project, the AWS account or the Azure subscription, so the control plane
compares two clusters without knowing which cloud produced either value.