You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2023/01/11 20:42:53 UTC
[GitHub] [airflow] jedcunningham commented on a diff in pull request #28858: Fix incorrect comments in worker-kedaautoscaler.yaml
jedcunningham commented on code in PR #28858:
URL: https://github.com/apache/airflow/pull/28858#discussion_r1067437956
##########
chart/templates/workers/worker-kedaautoscaler.yaml:
##########
@@ -37,10 +37,10 @@ spec:
scaleTargetRef:
kind: {{ ternary "StatefulSet" "Deployment" .Values.workers.persistence.enabled }}
name: {{ .Release.Name }}-worker
- pollingInterval: {{ .Values.workers.keda.pollingInterval }} # Optional. Default: 30 seconds
- cooldownPeriod: {{ .Values.workers.keda.cooldownPeriod }} # Optional. Default: 300 seconds
+ pollingInterval: {{ .Values.workers.keda.pollingInterval }} # Optional. Default: 5 seconds
+ cooldownPeriod: {{ .Values.workers.keda.cooldownPeriod }} # Optional. Default: 30 seconds
Review Comment:
```suggestion
pollingInterval: {{ .Values.workers.keda.pollingInterval }}
cooldownPeriod: {{ .Values.workers.keda.cooldownPeriod }}
```
Let's actually just remove it completely - we don't really do this elsewhere and they are just asking to become out of sync.
##########
chart/templates/workers/worker-kedaautoscaler.yaml:
##########
@@ -37,10 +37,10 @@ spec:
scaleTargetRef:
kind: {{ ternary "StatefulSet" "Deployment" .Values.workers.persistence.enabled }}
name: {{ .Release.Name }}-worker
- pollingInterval: {{ .Values.workers.keda.pollingInterval }} # Optional. Default: 30 seconds
- cooldownPeriod: {{ .Values.workers.keda.cooldownPeriod }} # Optional. Default: 300 seconds
+ pollingInterval: {{ .Values.workers.keda.pollingInterval }} # Optional. Default: 5 seconds
+ cooldownPeriod: {{ .Values.workers.keda.cooldownPeriod }} # Optional. Default: 30 seconds
minReplicaCount: {{ .Values.workers.keda.minReplicaCount }} # Optional. Default: 0
- maxReplicaCount: {{ .Values.workers.keda.maxReplicaCount }} # Optional. Default: 100
+ maxReplicaCount: {{ .Values.workers.keda.maxReplicaCount }} # Optional. Default: 10
Review Comment:
```suggestion
maxReplicaCount: {{ .Values.workers.keda.maxReplicaCount }}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org