diff --git a/charts/blockscout/Chart.yaml b/charts/blockscout/Chart.yaml index e50f5739..f3c1bf2d 100644 --- a/charts/blockscout/Chart.yaml +++ b/charts/blockscout/Chart.yaml @@ -1,7 +1,7 @@ --- apiVersion: v2 name: blockscout -version: 1.3.25 +version: 1.3.26 appVersion: v2.0.4-beta description: Chart which is used to deploy Blockscout for Celo Networks home: https://explorer.celo.org diff --git a/charts/blockscout/README.md b/charts/blockscout/README.md index 25e1ee7a..91e2e745 100644 --- a/charts/blockscout/README.md +++ b/charts/blockscout/README.md @@ -2,7 +2,7 @@ Chart which is used to deploy Blockscout for Celo Networks -![Version: 1.3.25](https://img.shields.io/badge/Version-1.3.25-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.0.4-beta](https://img.shields.io/badge/AppVersion-v2.0.4--beta-informational?style=flat-square) +![Version: 1.3.26](https://img.shields.io/badge/Version-1.3.26-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.0.4-beta](https://img.shields.io/badge/AppVersion-v2.0.4--beta-informational?style=flat-square) - [blockscout](#blockscout) - [Chart requirements](#chart-requirements) @@ -36,7 +36,7 @@ To install/manage a release named `celo-mainnet-fullnode` connected to `mainnet` ```bash # Select the chart release to use -CHART_RELEASE="oci://us-west1-docker.pkg.dev/celo-testnet/clabs-public-oci/blockscout --version=1.3.25" # Use remote chart and specific version +CHART_RELEASE="oci://us-west1-docker.pkg.dev/celo-testnet/clabs-public-oci/blockscout --version=1.3.26" # Use remote chart and specific version CHART_RELEASE="./" # Use this local folder # (Only for local chart) Sync helm dependencies @@ -91,7 +91,7 @@ helm upgrade my-blockscout -f values-alfajores-blockscout2.yaml --namespace=celo | blockscout.eventStream.replicas | int | `0` | replicas for eventStream deployment | | blockscout.eventStream.resources | object | `{"requests":{"cpu":2,"memory":"1000Mi"}}` | resources for eventStream container | | blockscout.eventStream.strategy | object | `{"rollingUpdate":{"maxSurge":1,"maxUnavailable":0}}` | UpdateStrategy for eventStream deployment | -| blockscout.indexer | object | `{"affinity":{},"db":{"connectionName":"project:region:db-name","name":"blockscout","port":5432,"proxy":{"resources":{"requests":{"cpu":"100m","memory":"40Mi"}}}},"fetchers":{"blockRewards":{"enabled":false},"catchup":{"batchSize":5,"concurrency":5}},"livenessProbe":{"failureThreshold":5,"initialDelaySeconds":60,"periodSeconds":30,"tcpSocket":{"port":"health"}},"nodeSelector":{},"poolSize":200,"poolSizeReplica":5,"port":4001,"primaryRpcRegion":"indexer","readinessProbe":{"failureThreshold":5,"httpGet":{"path":"/health/readiness","port":"health","scheme":"HTTP"},"initialDelaySeconds":30,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":5},"resources":{"requests":{"cpu":2,"memory":"2G"}},"rpcRegion":"indexer","strategy":{"rollingUpdate":{"maxSurge":1,"maxUnavailable":0}},"terminationGracePeriodSeconds":60,"tracerImplementation":"call_tracer"}` | Configuraton for the indexer component | +| blockscout.indexer | object | `{"affinity":{},"db":{"connectionName":"project:region:db-name","name":"blockscout","port":5432,"proxy":{"resources":{"requests":{"cpu":"100m","memory":"40Mi"}}}},"fetchers":{"blockRewards":{"enabled":false},"catchup":{"batchSize":5,"concurrency":5}},"livenessProbe":{"failureThreshold":5,"initialDelaySeconds":60,"periodSeconds":30,"tcpSocket":{"port":"health"}},"nodeSelector":{},"poolSize":200,"poolSizeReplica":5,"port":4001,"primaryRpcRegion":"indexer","readinessProbe":{"failureThreshold":5,"httpGet":{"path":"/health/readiness","port":"health","scheme":"HTTP"},"initialDelaySeconds":30,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":5},"replicas":1,"resources":{"requests":{"cpu":2,"memory":"2G"}},"rpcRegion":"indexer","strategy":{"rollingUpdate":{"maxSurge":1,"maxUnavailable":0}},"terminationGracePeriodSeconds":60,"tracerImplementation":"call_tracer"}` | Configuraton for the indexer component | | blockscout.indexer.affinity | object | `{}` | affinity for indexer pods | | blockscout.indexer.db | object | `{"connectionName":"project:region:db-name","name":"blockscout","port":5432,"proxy":{"resources":{"requests":{"cpu":"100m","memory":"40Mi"}}}}` | Database configuration for indexer. Prepared to be used with CloudSQL | | blockscout.indexer.db.connectionName | string | `"project:region:db-name"` | Name of the CloudSQL connection to use | diff --git a/charts/blockscout/templates/blockscout-indexer.deployment.yaml b/charts/blockscout/templates/blockscout-indexer.deployment.yaml index 5e1a8ca1..cd00f102 100644 --- a/charts/blockscout/templates/blockscout-indexer.deployment.yaml +++ b/charts/blockscout/templates/blockscout-indexer.deployment.yaml @@ -13,7 +13,7 @@ spec: rollingUpdate: maxSurge: {{ .Values.blockscout.indexer.strategy.rollingUpdate.maxSurge }} maxUnavailable: {{ .Values.blockscout.indexer.strategy.rollingUpdate.maxUnavailable }} - replicas: 1 + replicas: {{ .Values.blockscout.indexer.replicas | default 1 }} selector: matchLabels: app: blockscout diff --git a/charts/blockscout/values.yaml b/charts/blockscout/values.yaml index a868c66a..f02be636 100644 --- a/charts/blockscout/values.yaml +++ b/charts/blockscout/values.yaml @@ -51,6 +51,7 @@ blockscout: # -- Configuraton for the indexer component indexer: + replicas: 1 # -- termination timeout for indexer pod terminationGracePeriodSeconds: 60 port: 4001