Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to set custom poolSize for graph #543

Merged
merged 1 commit into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/graph-node/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.0.3
version: 3.0.4

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "v0.32.0"
appVersion: "v0.35.0"

keywords:
- graph-node
Expand Down
11 changes: 6 additions & 5 deletions charts/graph-node/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ graph:
database: ""
username: ""
password: ""
poolSize: "30"

# -- Blockchain configuration for Graph Node
chains:
# -- Ethereum Mainnet
# -- Ethereum Mainnet
mainnet:
# -- Enable this configuring graph-node with this chain
enabled: false
# -- The database shard to use for this chain
shard: primary
## -- A list of JSON-RPC endpoints for this node
provider:
-
# -- Label for the RPC endpoint
- # -- Label for the RPC endpoint
label: eth-mainnet
# -- URL for JSON-RPC endpoint
url: ""
Expand All @@ -67,7 +67,7 @@ graph:
[store]
[store.primary]
connection = "postgresql://{{ $.Values.graph.postgresql.username }}:{{ $.Values.graph.postgresql.password }}@{{ $.Values.graph.postgresql.host }}:{{ $.Values.graph.postgresql.port }}/{{ $.Values.graph.postgresql.database }}"
pool_size = 30
pool_size = {{ $.Values.graph.postgresql.poolSize }}
weight = 1
# Chain configuration
{{- $patchedChains := dict "ingestor" (print (include "common.names.fullname" $) "-0" ) }}
Expand Down Expand Up @@ -136,7 +136,8 @@ service:
ingress:
enabled: false
className: ""
annotations: {}
annotations:
{}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
Expand Down
Loading