Safe, versioned Worker Deployments on Kubernetes: Now with autoscaling!
Mar 30, 2026

Summary
Introduces `WorkerResourceTemplate`, a new custom resource for the Temporal Worker Controller that allows users to define Kubernetes resources (like HPAs and PDBs) to be automatically created and managed for each versioned Worker Deployment. This enables autoscaling of individual worker versions based on metrics such as CPU utilization, slot utilization, and task queue backlog count. The feature leverages Kubernetes patterns and existing autoscaling tooling, providing security guardrails through a validating webhook to prevent privilege escalation and block banned resource kinds.
More from the Worker Versioning trail
- Automated Worker Versioning with GitHub Actions
- Safe deployments with Temporal Worker Versioning on Kubernetes
- Announcing GA for Worker Versioning and Public Preview for Upgrade on Continue-as-New
- Announcing Worker Versioning Public Preview: Pin Workflows to a single code version
- Announcing KEDA-based auto-scaling for Temporal Workers