keda: fixed ScaledObject parameter value type (#1765)
* keda: turned queueLength's value into string * keda: renamed TriggerAuthentication * keda: updated max replica count for staging-mainnet
This commit is contained in:
parent
4911f06c0a
commit
971f9368f2
|
@ -1,7 +1,7 @@
|
|||
apiVersion: keda.sh/v1alpha1
|
||||
kind: TriggerAuthentication
|
||||
metadata:
|
||||
name: keda-auth-aws-{{ .NAME }}
|
||||
name: keda-auth-{{ .NAME }}
|
||||
namespace: {{ .NAMESPACE }}
|
||||
spec:
|
||||
podIdentity:
|
||||
|
@ -20,8 +20,8 @@ spec:
|
|||
triggers:
|
||||
- type: {{ .SCALE_TYPE }}
|
||||
authenticationRef:
|
||||
name: keda-auth-aws-{{ .NAME }}
|
||||
name: keda-auth-{{ .NAME }}
|
||||
metadata:
|
||||
awsRegion: {{ .SQS_AWS_REGION }}
|
||||
queueURL: {{ .PIPELINE_SQS_URL }}
|
||||
queueLength: {{ .SCALE_VALUE }}
|
||||
queueLength: "{{ .SCALE_VALUE }}"
|
|
@ -3,7 +3,7 @@ NAMESPACE=wormscan
|
|||
NAME=wormscan-analytics
|
||||
REPLICAS=2
|
||||
MIN_REPLICAS=2
|
||||
MAX_REPLICAS=6
|
||||
MAX_REPLICAS=4
|
||||
SCALE_TYPE=aws-sqs-queue
|
||||
SCALE_VALUE=5
|
||||
IMAGE_NAME=
|
||||
|
|
|
@ -12,4 +12,4 @@ spec:
|
|||
- type: {{ .SCALE_TYPE }}
|
||||
metricType: Utilization # Allowed types are 'Utilization' or 'AverageValue'
|
||||
metadata:
|
||||
value: {{ .SCALE_VALUE }}
|
||||
value: "{{ .SCALE_VALUE }}"
|
|
@ -4,7 +4,7 @@ NAME=wormscan-api
|
|||
PORT=8000
|
||||
REPLICAS=2
|
||||
MIN_REPLICAS=2
|
||||
MAX_REPLICAS=6
|
||||
MAX_REPLICAS=4
|
||||
SCALE_TYPE=memory
|
||||
SCALE_VALUE=90
|
||||
IMAGE_NAME=
|
||||
|
|
|
@ -12,4 +12,4 @@ spec:
|
|||
- type: {{ .SCALE_TYPE }}
|
||||
metricType: Utilization # Allowed types are 'Utilization' or 'AverageValue'
|
||||
metadata:
|
||||
value: {{ .SCALE_VALUE }}
|
||||
value: "{{ .SCALE_VALUE }}"
|
||||
|
|
|
@ -3,7 +3,7 @@ NAMESPACE=wormscan
|
|||
NAME=wormscan-parser
|
||||
REPLICAS=2
|
||||
MIN_REPLICAS=2
|
||||
MAX_REPLICAS=6
|
||||
MAX_REPLICAS=4
|
||||
SCALE_TYPE=aws-sqs-queue
|
||||
SCALE_VALUE=5
|
||||
IMAGE_NAME=
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
apiVersion: keda.sh/v1alpha1
|
||||
kind: TriggerAuthentication
|
||||
metadata:
|
||||
name: keda-auth-aws-{{ .NAME }}
|
||||
name: keda-auth-{{ .NAME }}
|
||||
namespace: {{ .NAMESPACE }}
|
||||
spec:
|
||||
podIdentity:
|
||||
|
@ -20,8 +20,8 @@ spec:
|
|||
triggers:
|
||||
- type: {{ .SCALE_TYPE }}
|
||||
authenticationRef:
|
||||
name: keda-auth-aws-{{ .NAME }}
|
||||
name: keda-auth-{{ .NAME }}
|
||||
metadata:
|
||||
awsRegion: {{ .SQS_AWS_REGION }}
|
||||
queueURL: {{ .PIPELINE_SQS_URL }}
|
||||
queueLength: {{ .SCALE_VALUE }}
|
||||
queueLength: "{{ .SCALE_VALUE }}"
|
|
@ -3,7 +3,7 @@ NAMESPACE=wormscan
|
|||
NAME=wormscan-tx-tracker
|
||||
REPLICAS=2
|
||||
MIN_REPLICAS=2
|
||||
MAX_REPLICAS=6
|
||||
MAX_REPLICAS=4
|
||||
SCALE_TYPE=aws-sqs-queue
|
||||
SCALE_VALUE=5
|
||||
IMAGE_NAME=
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
apiVersion: keda.sh/v1alpha1
|
||||
kind: TriggerAuthentication
|
||||
metadata:
|
||||
name: keda-auth-aws-{{ .NAME }}
|
||||
name: keda-auth-{{ .NAME }}
|
||||
namespace: {{ .NAMESPACE }}
|
||||
spec:
|
||||
podIdentity:
|
||||
|
@ -20,8 +20,8 @@ spec:
|
|||
triggers:
|
||||
- type: {{ .SCALE_TYPE }}
|
||||
authenticationRef:
|
||||
name: keda-auth-aws-{{ .NAME }}
|
||||
name: keda-auth-{{ .NAME }}
|
||||
metadata:
|
||||
awsRegion: {{ .SQS_AWS_REGION }}
|
||||
queueURL: {{ .PIPELINE_SQS_URL }}
|
||||
queueLength: {{ .SCALE_VALUE }}
|
||||
queueLength: "{{ .SCALE_VALUE }}"
|
Loading…
Reference in New Issue