This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch v1-10-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 36bfa043f0575474763b9bd0bf0f200be3d18c69 Author: Daniel Imberman <[email protected]> AuthorDate: Fri Jul 10 07:48:17 2020 -0700 Add TargetQueryValue to KEDA Autoscaler (#9748) Co-authored-by: Daniel Imberman <[email protected]> (cherry picked from commit 0faa06ed9b010eb3d2c3a366d68649526f0bf2ad) --- chart/templates/workers/worker-kedaautoscaler.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/chart/templates/workers/worker-kedaautoscaler.yaml b/chart/templates/workers/worker-kedaautoscaler.yaml index c733618..e135076 100644 --- a/chart/templates/workers/worker-kedaautoscaler.yaml +++ b/chart/templates/workers/worker-kedaautoscaler.yaml @@ -42,6 +42,7 @@ spec: triggers: - type: postgresql metadata: + targetQueryValue: "1" connection: AIRFLOW_CONN_AIRFLOW_DB query: "SELECT ceil(COUNT(*)::decimal / 16) FROM task_instance WHERE state='running' OR state='queued'" {{- end }}
