Skip to content

Commit

Permalink
Merge pull request #779 from blockscout/nz-front-resources
Browse files Browse the repository at this point in the history
Optimizing frontend resources
  • Loading branch information
vbaranov authored Apr 21, 2023
2 parents 77b8b4f + ceed43b commit f9ffc61
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
10 changes: 5 additions & 5 deletions deploy/values/l2-optimism-goerli/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ postgres:

command: '["docker-entrypoint.sh", "-c"]'
args: '["max_connections=300"]'

customShm:
enabled: false

Expand Down Expand Up @@ -439,14 +439,14 @@ allowance:
resources:
limits:
memory:
_default: "0.3Gi"
_default: 768Mi
cpu:
_default: "0.2"
_default: 500m
requests:
memory:
_default: "0.3Gi"
_default: 384Mi
cpu:
_default: "0.2"
_default: 250m

# node label
nodeSelector:
Expand Down
14 changes: 7 additions & 7 deletions deploy/values/main/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ blockscout:
_default: "3"
requests:
memory:
_default: "4Gi"
_default: "2Gi"
cpu:
_default: "3"
_default: "2"
# node label
nodeSelector:
enabled: true
Expand Down Expand Up @@ -176,7 +176,7 @@ postgres:
memory:
_default: "8Gi"
cpu:
_default: "2"
_default: "1"
# node label
nodeSelector:
enabled: true
Expand Down Expand Up @@ -295,14 +295,14 @@ frontend:
resources:
limits:
memory:
_default: "0.3Gi"
_default: 768Mi
cpu:
_default: "0.5"
_default: 500m
requests:
memory:
_default: "0.3Gi"
_default: 384Mi
cpu:
_default: "0.5"
_default: 250m
environment:
# ui config
NEXT_PUBLIC_FEATURED_NETWORKS:
Expand Down
10 changes: 5 additions & 5 deletions deploy/values/review-l2/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ frontend:
resources:
limits:
memory:
_default: "1Gi"
_default: 768Mi
cpu:
_default: "0.5"
_default: "1"
requests:
memory:
_default: "1Gi"
_default: 384Mi
cpu:
_default: "0.5"
_default: 250m
environment:
NEXT_PUBLIC_BLOCKSCOUT_VERSION:
_default: v5.1.0-beta
Expand Down Expand Up @@ -129,5 +129,5 @@ frontend:
_default: https://blockscout-main.test.aws-k8s.blockscout.com
NEXT_PUBLIC_L2_WITHDRAWAL_URL:
_default: https://app.optimism.io/bridge/withdraw
NEXT_PUBLIC_GRAPHIQL_TRANSACTION:
NEXT_PUBLIC_GRAPHIQL_TRANSACTION:
_default: 0x4a0ed8ddf751a7cb5297f827699117b0f6d21a0b2907594d300dc9fed75c7e62
8 changes: 4 additions & 4 deletions deploy/values/review/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ frontend:
resources:
limits:
memory:
_default: "2Gi"
_default: 768Mi
cpu:
_default: "1"
requests:
memory:
_default: "2Gi"
_default: 384Mi
cpu:
_default: "1"
_default: 250m
environment:
NEXT_PUBLIC_BLOCKSCOUT_VERSION:
_default: v5.1.2-beta
Expand Down Expand Up @@ -120,5 +120,5 @@ frontend:
_default: https://raw.githubusercontent.com/blockscout/frontend-configs/dev/configs/marketplace/eth-goerli.json
NEXT_PUBLIC_IS_TESTNET:
_default: true
NEXT_PUBLIC_GRAPHIQL_TRANSACTION:
NEXT_PUBLIC_GRAPHIQL_TRANSACTION:
_default: 0xf7d4972356e6ae44ae948d0cf19ef2beaf0e574c180997e969a2837da15e349d

0 comments on commit f9ffc61

Please sign in to comment.