Skip to main content

Deployment portability matrix

DFE is one product deployed into many estates. Most components sit behind a config dial, so a deployment swaps them without a code change. A dial is an existing k8s abstraction or a chart mode, never a fork. A few components are fixed in-cluster and have no dial: the Envoy edge, the identity authority and the document store. This page shows how each target sets the dials. The definitions (what each dial turns) live in ../architecture.md "Swappable components", and that stays the SSoT.

RKE2 on-prem is the reference distribution and the tested path. The cloud columns use the same charts and dials with different values and credentials. RKE2 and AWS are built and tested. Azure and GCP are values overlays alone (argocd/values/azure.yaml, gcp.yaml) with no cloud root, so a deployment there brings a cluster and sets the values by hand.

The invariant core vs the swappable edge​

The Envoy edge, the identity authority, the document store and the apps run in-cluster on every target, and the parts around them swap per target.

Figure 1. L4 Detail -- Fixed and swappable components. Up: Deploying DFE with dfe-infra.

One cloud L4 LoadBalancer backs the in-k8s Envoy Gateway, which does ALL the L7 routing, and there's no cloud L7 (ALB/App Gateway). The receiver's ingest door and the VPN tunnel are L4 doors of their own (below). dfe-engine (the identity authority), the Envoy edge and the dfe-hyperdx DocumentDB store are always in-cluster. Kafka, ClickHouse and object storage can be in-cluster or a managed endpoint.

The matrix​

ComponentThe dialOn-prem RKE2AWSAzureGCP
Kubernetesvanilla-cluster contract (preflight)RKE2 (standard)EKSAKSGKE
External DNSexternal-dns provider / estate recordestate CoreDNS recordRoute53Azure DNSCloud DNS
SecretsESO ClusterSecretStoreOpenBaoSecrets ManagerKey VaultSecret Manager
Private CA / TLScert-manager ClusterIssuer (+ external issuer)OpenBao PKIACME or AWS PCAACME or Key VaultACME or Google CAS
Kafkachart mode + kafka.bootstrapServersStrimzi / Redpanda*MSK / Confluent Cloud / Redpanda Cloud, each on AWS**Confluent Cloud on Azure**Confluent Cloud / Redpanda Cloud, each on GCP**
ClickHouseclickhouse.mode + .hostin-k8s operatorCH Cloud (pref) / in-k8sCH Cloud (pref) / in-k8sCH Cloud (pref) / in-k8s
Edge LoadBalancerenvoyGateway.service type=LoadBalancerMetalLBNLBAzure LBGCP LB
Object storeS3-compatible endpoint + credsMinIO / Ceph RGWS3Blob (S3 API)GCS (S3 API)
Container registryglobal.registry, plus a pull secret for a private mirrorHarborECRACRGAR
Image pull cachecontainerd mirror per upstreamnot builtECR pull-through cacheACR artifact cache (not built)AR remote repos (not built)
StorageClass / CSIstorageClass (empty -> cluster default)local-path / LonghornEBSAzure DiskPD
Workload identityServiceAccount annotationsstatic creds (OpenBao)EKS Pod Identity (no annotation)Azure Workload IdentityGKE Workload Identity
etcd-at-rest KMScluster EncryptionConfiguration providersecretbox / aescbcKMSKey Vault KMSCloud KMS
Document storedocumentdb chart, a DocumentDB CR on the DocumentDB operator's CloudNativePG (always in-cluster, Kubernetes 1.35+, or 1.34 with the ImageVolume feature gate)2 instances, gateway in each"""
Identity authoritydfe-engine account store (always in-cluster)dfe-enginedfe-enginedfe-enginedfe-engine
Federated loginoidc.providers external OIDC (opt-in)any OIDC IdPEntra / Okta / ...EntraGoogle / ...

* Redpanda on-prem is behind a licence gate.

** A managed backend is offered as its instance on the deployment's cloud alone, and the plan rejects any other: managed-backends.md.

Notes that matter​

  • Dumb L4 LoadBalancers. The web plane's one LB is the Service type=LoadBalancer fronting the gateway (MetalLB provides it on-prem). The receiver's ingest door is a LoadBalancer of its own on cloud flavours (exposure.groups.ingest.door: loadbalancer in argocd/values/common.yaml) and the gateway on-prem, and a deployed tunnel takes one more (edge-vpn.md). We don't use cloud L7 (routing, WAF, OIDC). Envoy owns L7 in-cluster, so behaviour is identical everywhere. Cloud-specific LB tuning rides envoyGateway.service.annotations.
  • Workload identity is how the cloud credentials work. ESO, external-dns and the cloud LB controller reach their cloud APIs through workload identity: EKS Pod Identity on AWS, which needs no annotation, and Workload Identity annotated onto the ServiceAccount on Azure and GCP. On-prem there's no cloud API, so credentials come from OpenBao through ESO. Nothing hardcodes a static cloud key.
  • etcd-at-rest belongs to the cluster, not the app. dfe-engine (and every secrets consumer) inherits whatever the cluster's EncryptionConfiguration uses: cloud KMS on managed clusters, secretbox/aescbc on-prem. No app couples to a KMS.
  • Data services are in-cluster OR managed, per deployment. Kafka and ClickHouse default to in-cluster (Strimzi, the CH operator) and swap to a managed endpoint when you point the chart's *.host or bootstrapServers at it. The DocumentDB store's PostgreSQL stays in-cluster, because it's the dfe-hyperdx store and not a general PG.
  • ClickHouse on cloud: ClickHouse Cloud is PREFERRED, and in-k8s ClickHouse on the operator is equally ACCEPTABLE. clickhouse.mode supports both everywhere, so it's a per-deployment call.
  • A chart never assumes anything cloud-specific. A component reachable through one provider alone is a bug (architecture.md).
  • Declaring an external dependency configures its clients' egress rules. The baseline is default-deny egress, so network-policies derives an egress allow for each external dependency the deployment declares: clickhouse.mode: external opens the ClickHouse clients on the ClickHouse ports, kafka.mode: external the Kafka clients, and likewise for an external OIDC issuer, secret backend, index server or OTel destination. Without it, a pod pointed at the datastore would crashloop with nothing in the policy set to explain why. Each purpose gets the ports that dependency speaks and no others, and any purpose pins to a known endpoint CIDR (externalEgress.<purpose>.allowCIDRs) where one is fixed.

Node autoscaling​

It's a pools interface with one renderer per cloud. The resolver writes a pool class per workload, and helm/charts/node-pools renders the classes for the cluster's node autoscaler. That's Karpenter on AWS. Azure and GCP have no renderer in this release. On-prem runs a static node pool and renders no pool object. ../autoscaling.md has the per-target table.