Temporal worker auto scaling on k8s

Is there any idea about auto scaling for long running activities? For worker deployment, it’s not acceptable for worker kill when executing a task or kill when poll activity with gracefully shutdown.

Can you give more info on your use case? Are you asking if you can change worker options without restarting worker pods?

Here are our use case: reduce worker deployment number if there is no task left (according some metric) but without cause worker executing task being killed.