keda: tx-tracker scaledObject update (#1774)

* tx-tracker: added secondary queue as trigger

* tx-tracker: updated SCALE_VALUE value
This commit is contained in:
Sebastian Cavedale 2024-10-08 12:53:51 -03:00 committed by GitHub
parent f6cc01add5
commit 74ca8482c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 13 additions and 6 deletions

View File

@ -5,7 +5,7 @@ REPLICAS=2
MIN_REPLICAS=2
MAX_REPLICAS=10
SCALE_TYPE=aws-sqs-queue
SCALE_VALUE=5
SCALE_VALUE=25
IMAGE_NAME=
RESOURCES_LIMITS_MEMORY=96Mi
RESOURCES_LIMITS_CPU=50m

View File

@ -3,9 +3,9 @@ NAMESPACE=wormscan-testnet
NAME=wormscan-tx-tracker
REPLICAS=2
MIN_REPLICAS=2
MAX_REPLICAS=6
MAX_REPLICAS=8
SCALE_TYPE=aws-sqs-queue
SCALE_VALUE=5
SCALE_VALUE=25
IMAGE_NAME=
RESOURCES_LIMITS_MEMORY=96Mi
RESOURCES_LIMITS_CPU=20m

View File

@ -3,9 +3,9 @@ NAMESPACE=wormscan
NAME=wormscan-tx-tracker
REPLICAS=2
MIN_REPLICAS=2
MAX_REPLICAS=4
MAX_REPLICAS=6
SCALE_TYPE=aws-sqs-queue
SCALE_VALUE=5
SCALE_VALUE=25
IMAGE_NAME=
RESOURCES_LIMITS_MEMORY=48Mi
RESOURCES_LIMITS_CPU=30m

View File

@ -5,7 +5,7 @@ REPLICAS=1
MIN_REPLICAS=1
MAX_REPLICAS=3
SCALE_TYPE=aws-sqs-queue
SCALE_VALUE=5
SCALE_VALUE=25
IMAGE_NAME=
RESOURCES_LIMITS_MEMORY=48Mi
RESOURCES_LIMITS_CPU=20m

View File

@ -24,4 +24,11 @@ spec:
metadata:
awsRegion: {{ .SQS_AWS_REGION }}
queueURL: {{ .PIPELINE_SQS_URL }}
queueLength: "{{ .SCALE_VALUE }}"
- type: {{ .SCALE_TYPE }}
authenticationRef:
name: keda-auth-{{ .NAME }}
metadata:
awsRegion: {{ .SQS_AWS_REGION }}
queueURL: {{ .NOTIFICATIONS_SQS_URL }}
queueLength: "{{ .SCALE_VALUE }}"