keda: tx-tracker scaledObject update (#1774)
* tx-tracker: added secondary queue as trigger * tx-tracker: updated SCALE_VALUE value
This commit is contained in:
parent
f6cc01add5
commit
74ca8482c4
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 }}"
|
Loading…
Reference in New Issue