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:
parent
ab0c42ed87
commit
6c54c8b8a1
|
@ -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
|
||||
|
|
|
@ -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=
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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=
|
||||
|
|
|
@ -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=
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue