All posts

Etlworks on Kubernetes: pods that drain before they go

Official Kubernetes support shipped as a managed cluster: pods scale within your license and drain before removal. Amazon EKS, Azure AKS and Google GKE followed in 10.0.14.

In May we put official Kubernetes support on the roadmap: charts we maintain, a documented multi-node topology, behavior we test rather than infer. It shipped, and it turned into more than charts. Etlworks now runs on your Kubernetes as a managed cluster that adds application pods when demand grows and removes them safely when it falls.

Update, November 11: EKS, AKS and GKE

Etlworks 10.0.14 adds profiles for Amazon EKS, Azure AKS and Google GKE Standard to the same installer, chosen with platformProfile in install.json. They use the provider's own networking and storage behind a TCP 443 load balancer. The same release lets PostgreSQL and Redis be external services you supply, and adds a retained disk plan for self-hosted storage. The procedure is in the cloud guide.

Update, November 13: after the install

Scaling settings in the app set CPU, memory and heap targets, capacity schedules and a temporary minimum. Upgrades run from Settings → Elastic cluster or the CLI, rolling or in maintenance mode, and a failed one can be recovered. There is an offline backup and restore, and an existing deployment can migrate to the managed cluster and back.

Scaling in is the hard part

Adding a pod is easy. Removing one is where data platforms get hurt, because a pod that is halfway through loading a table is not idle just because the autoscaler wants fewer replicas.

So the scaling is split in two. KEDA and the Kubernetes HPA decide how many application pods you should have. A separate lifecycle adapter does the adding and removing. Before it removes a pod it waits for that pod's work to finish and its traffic to drain: ordinary flows run to completion, and only continuous executions that are eligible to move get handed over. The HPA never deletes a busy pod directly.

While a long flow runs, the actual pod count can stay above the desired count. That is the drain doing its job. A new pod takes new executions; it does not split a flow that is already running.

Each pod runs the full application and ETL engine. Your Cluster license sets the starting pod count, pod size and maximum.

Installing it

You bring the Kubernetes cluster, version 1.34: your own Linux nodes (at least two workers), or Amazon EKS, Azure AKS or Google GKE, on AMD64 or ARM64. The installer runs from a Linux, macOS or Windows workstation with Java 25, Python 3.12, kubectl and Helm 3, and deploys the rest: PostgreSQL, Redis, shared storage, HAProxy, KEDA and cert-manager where missing. You build no images.

There are two downloads: the installer ZIP for your node architecture, and a separate ZIP with the signed Cluster license and its verification keys. You describe the target in an install.json (kubeconfig context, hostname, two storage worker nodes or a cloud plan, a file with the initial administrator password), then:

sh deployment/installer/etlworks-kubernetes.sh preflight \
  --config ../etlworks-private/install.json

sh deployment/installer/etlworks-kubernetes.sh install \
  --config ../etlworks-private/install.json --wait 30m

If the terminal drops or the wait runs out, status and resume continue the same installation, because its state lives in the cluster.

The installer is on the tools page. To try it, request a 14-day Kubernetes trial and pick a pod size from 8 GiB and 2 CPUs up to 128 GiB and 32 CPUs. The trial starts one pod, scales to two, and runs in a separate evaluation environment.

Etlworks on Kubernetes: install on EKS, scale, upgrade 2:13 · Watch on YouTube

The limits

On your own Kubernetes, the installer provisions PostgreSQL, Redis and NFS storage as single instances by default, so losing the storage worker can take the application down. For production, point PostgreSQL and Redis at external services you run, and use a retained disk plan for the rest. On EKS, AKS and GKE, shared storage is the provider's own.

Node scaling is your platform's job. More desired pods do not create machines unless you run a node autoscaler, which the installer does not enable, and each pod has to fit on a single worker, so two half-empty nodes cannot host one large pod. On the clouds, use ordinary Linux node pools: EKS Auto Mode, Fargate, AKS node auto-provisioning, GKE Autopilot and Spot nodes are not supported.

The full procedure is in Install Etlworks on Kubernetes.

Try it on your own data.

14 days, no card. Point Etlworks at a real source and see what it does.