Skip to content

Conversation

@dezlitz
Copy link

@dezlitz dezlitz commented Dec 29, 2025

Summary

Added support for the /scale subresource to TemporalWorkerDeployment CRD, enabling KEDA and Kubernetes HPA to directly scale the custom resource.

@dezlitz dezlitz requested review from a team and jlegrone as code owners December 29, 2025 06:16
@CLAassistant
Copy link

CLAassistant commented Dec 29, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@dezlitz
Copy link
Author

dezlitz commented Dec 29, 2025

This may be a naive way to enable autoscaling to the controller but it worked in my limited testing.

- Enables KEDA and Kubernetes HPA to directly scale the custom resource
- Controller aggregates replica counts in status.replicas
- Controller sets label selector in status.selector for pod discovery
- CRD properly configured with /scale subresource
- Tested with 1000-workflow load test demonstrating successful scaling
@dezlitz dezlitz closed this Dec 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants