Improves to deployment file in testing/staging (#130)

* Fix spy service deploy config

* Reduce parser pod memory

* Reduce fly replicas and change memory size

* Resize cpu & memory api [testnet]

* Fix replicas and size cpu memory componentes testnet

* delete image-name spy staging

Co-authored-by: ftocal <fert1335@gmail.com>

---------

Co-authored-by: ftocal <fert1335@gmail.com>
This commit is contained in:
walker-16 2023-02-02 17:31:41 -03:00 committed by GitHub
parent ab0c42ed87
commit 6c54c8b8a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 19 additions and 19 deletions

View File

@ -4,10 +4,10 @@ NAME=wormscan-api
PORT=8000
REPLICAS=2
IMAGE_NAME=
RESOURCES_LIMITS_MEMORY=256Mi
RESOURCES_LIMITS_CPU=500m
RESOURCES_REQUESTS_MEMORY=128Mi
RESOURCES_REQUESTS_CPU=250m
RESOURCES_LIMITS_MEMORY=128Mi
RESOURCES_LIMITS_CPU=200m
RESOURCES_REQUESTS_MEMORY=64Mi
RESOURCES_REQUESTS_CPU=100m
WORMSCAN_RUNMODE=DEVELOPMENT
WORMSCAN_LOGLEVEL=INFO
WORMSCAN_P2PNETWORK=testnet

View File

@ -1,11 +1,11 @@
ENVIRONMENT=staging
NAMESPACE=wormscan
NAME=wormscan-fly
REPLICAS=5
REPLICAS=3
IMAGE_NAME=
RESOURCES_LIMITS_MEMORY=256Mi
RESOURCES_LIMITS_MEMORY=512Mi
RESOURCES_LIMITS_CPU=500m
RESOURCES_REQUESTS_MEMORY=128Mi
RESOURCES_REQUESTS_MEMORY=384Mi
RESOURCES_REQUESTS_CPU=250m
SQS_URL=
SQS_AWS_REGION=

View File

@ -1,7 +1,7 @@
ENVIRONMENT=test
NAMESPACE=wormscan-testnet
NAME=wormscan-fly
REPLICAS=5
REPLICAS=2
IMAGE_NAME=
RESOURCES_LIMITS_MEMORY=256Mi
RESOURCES_LIMITS_CPU=500m

View File

@ -3,9 +3,9 @@ NAMESPACE=wormscan
NAME=wormscan-parser
REPLICAS=2
IMAGE_NAME=
RESOURCES_LIMITS_MEMORY=256Mi
RESOURCES_LIMITS_MEMORY=128Mi
RESOURCES_LIMITS_CPU=500m
RESOURCES_REQUESTS_MEMORY=128Mi
RESOURCES_REQUESTS_MEMORY=64Mi
RESOURCES_REQUESTS_CPU=250m
SQS_URL=
SQS_AWS_REGION=

View File

@ -1,12 +1,12 @@
ENVIRONMENT=test
NAMESPACE=wormscan-testnet
NAME=wormscan-parser
REPLICAS=2
REPLICAS=1
IMAGE_NAME=
RESOURCES_LIMITS_MEMORY=256Mi
RESOURCES_LIMITS_CPU=500m
RESOURCES_REQUESTS_MEMORY=128Mi
RESOURCES_REQUESTS_CPU=250m
RESOURCES_LIMITS_MEMORY=128Mi
RESOURCES_LIMITS_CPU=200m
RESOURCES_REQUESTS_MEMORY=64Mi
RESOURCES_REQUESTS_CPU=100m
SQS_URL=
SQS_AWS_REGION=
SQS_ACCESS_KEY_ID=

View File

@ -5,8 +5,8 @@ PORT=7777
REPLICAS=2
IMAGE_NAME=
RESOURCES_LIMITS_MEMORY=256Mi
RESOURCES_LIMITS_CPU=500m
RESOURCES_LIMITS_CPU=200m
RESOURCES_REQUESTS_MEMORY=128Mi
RESOURCES_REQUESTS_CPU=250m
RESOURCES_REQUESTS_CPU=100m
GRPC_ADDRESS=0.0.0.0:7777
HOSTNAME=spy.testnet.wormscan.io

View File

@ -12,7 +12,7 @@ spec:
selector:
app: {{ .NAME }}
ports:
- port: 8001
- port: 80
targetPort: {{ .PORT }}
name: {{ .NAME }}
protocol: TCP
@ -32,7 +32,7 @@ spec:
selector:
app: {{ .NAME }}
ports:
- port: 8001
- port: 80
targetPort: {{ .PORT }}
name: {{ .NAME }}
protocol: TCP