From ceed43b52f3e94996e5f94bce75dbcfe347326be Mon Sep 17 00:00:00 2001 From: Nick Zenchik Date: Fri, 21 Apr 2023 14:16:39 +0400 Subject: [PATCH] Optimizing frontend resources --- deploy/values/l2-optimism-goerli/values.yaml | 10 +++++----- deploy/values/main/values.yaml | 14 +++++++------- deploy/values/review-l2/values.yaml | 10 +++++----- deploy/values/review/values.yaml | 8 ++++---- 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/deploy/values/l2-optimism-goerli/values.yaml b/deploy/values/l2-optimism-goerli/values.yaml index 8dd82bca15..63a34a3439 100644 --- a/deploy/values/l2-optimism-goerli/values.yaml +++ b/deploy/values/l2-optimism-goerli/values.yaml @@ -143,7 +143,7 @@ postgres: command: '["docker-entrypoint.sh", "-c"]' args: '["max_connections=300"]' - + customShm: enabled: false @@ -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: diff --git a/deploy/values/main/values.yaml b/deploy/values/main/values.yaml index 37d0f5514f..e27dbb874b 100644 --- a/deploy/values/main/values.yaml +++ b/deploy/values/main/values.yaml @@ -52,9 +52,9 @@ blockscout: _default: "3" requests: memory: - _default: "4Gi" + _default: "2Gi" cpu: - _default: "3" + _default: "2" # node label nodeSelector: enabled: true @@ -176,7 +176,7 @@ postgres: memory: _default: "8Gi" cpu: - _default: "2" + _default: "1" # node label nodeSelector: enabled: true @@ -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: diff --git a/deploy/values/review-l2/values.yaml b/deploy/values/review-l2/values.yaml index 54160bea56..528e326ffa 100644 --- a/deploy/values/review-l2/values.yaml +++ b/deploy/values/review-l2/values.yaml @@ -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 @@ -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 diff --git a/deploy/values/review/values.yaml b/deploy/values/review/values.yaml index 41ce739f88..58108d9e01 100644 --- a/deploy/values/review/values.yaml +++ b/deploy/values/review/values.yaml @@ -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 @@ -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