diff --git a/charts/blutgang/Chart.yaml b/charts/blutgang/Chart.yaml index fbfe432a..1f8e9c7f 100644 --- a/charts/blutgang/Chart.yaml +++ b/charts/blutgang/Chart.yaml @@ -7,7 +7,7 @@ icon: https://github.com/rainshowerLabs/blutgang/assets/55022497/ec668c7a-5f56-4 sources: - https://github.com/rainshowerLabs/blutgang type: application -version: 0.0.3 +version: 0.0.4 maintainers: - name: barnabasbusa email: busa.barnabas@gmail.com diff --git a/charts/blutgang/README.md b/charts/blutgang/README.md index 4db77b8d..17fc66dd 100644 --- a/charts/blutgang/README.md +++ b/charts/blutgang/README.md @@ -1,7 +1,7 @@ # blutgang -![Version: 0.0.3](https://img.shields.io/badge/Version-0.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.0.4](https://img.shields.io/badge/Version-0.0.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Blutgang is a blazing fast, caching, minimalistic load balancer designed with Ethereum's JSON-RPC in mind. Historical RPC queries are cached in a local database, bypassing the need for slow, repeating calls to your node. diff --git a/charts/blutgang/ci/default-values.yaml b/charts/blutgang/ci/default-values.yaml index 86c97ae0..00e3bf1f 100644 --- a/charts/blutgang/ci/default-values.yaml +++ b/charts/blutgang/ci/default-values.yaml @@ -14,17 +14,21 @@ config: | # Enable health checking health_check = true # Acceptable time to wait for a response in ms - ttl = 30 + ttl = 300 # How many times to retry a request before giving up max_retries = 32 + # Block time in ms, used as a sanity check when not receiving subscriptions + expected_block_time = 13000 # Time between health checks in ms - health_check_ttl = 1250 + health_check_ttl = 2000 + # Supress the health check running info messages + supress_rpc_check = false # Note: the admin namespace contains volatile functions and # should not be exposed publicly. [admin] # Enable the admin namespace - enabled = false + enabled = true # Address for the admin RPC address = "0.0.0.0:5715" # Only allow read-only methods diff --git a/charts/blutgang/values.yaml b/charts/blutgang/values.yaml index 276efbb2..fc381a4d 100644 --- a/charts/blutgang/values.yaml +++ b/charts/blutgang/values.yaml @@ -11,7 +11,7 @@ image: # -- blutgang container image repository repository: makemake1337/blutgang # -- blutgang container image tag - tag: "latest" + tag: latest # -- blutgang container pull policy pullPolicy: IfNotPresent @@ -50,13 +50,13 @@ config: | # Enable health checking health_check = {{ .Values.blutgangNamespace.health_check | default true }} # Acceptable time to wait for a response in ms - ttl = {{ .Values.blutgangNamespace.ttl | default 30 }} + ttl = {{ .Values.blutgangNamespace.ttl | default 300 }} # How many times to retry a request before giving up max_retries = {{ .Values.blutgangNamespace.max_retries | default 32 }} # Block time in ms, used as a sanity check when not receiving subscriptions expected_block_time = {{ .Values.blutgangNamespace.expected_block_time | default 13000 }} # Time between health checks in ms - health_check_ttl = {{ .Values.blutgangNamespace.health_check_ttl | default 400 }} + health_check_ttl = {{ .Values.blutgangNamespace.health_check_ttl | default 2000 }} # Supress the health check running info messages supress_rpc_check = {{ .Values.blutgangNamespace.supress_rpc_check | default false }} @@ -64,7 +64,7 @@ config: | # should not be exposed publicly. [admin] # Enable the admin namespace - enabled = {{ .Values.adminNamespace.enabled | default false }} + enabled = {{ .Values.adminNamespace.enabled | default true }} # Address for the admin RPC address = "0.0.0.0:{{ .Values.adminNamespace.adminPort | default 5715 }}" # Only allow read-only methods @@ -115,16 +115,16 @@ blutgangNamespace: ma_length: 100 sort_on_startup: true health_check: true - ttl: 30 + ttl: 300 max_retries: 32 expected_block_time: 13000 - health_check_ttl: 400 + health_check_ttl: 2000 supress_rpc_check: false # -- Admin Namespace # @default -- See `values.yaml` adminNamespace: - enabled: false + enabled: true adminPort: 5715 jwt_enabled: false jwt_key: "" @@ -168,16 +168,18 @@ httpPort: 3000 # -- Liveness probe # @default -- See `values.yaml` livenessProbe: - tcpSocket: - port: http - initialDelaySeconds: 60 - periodSeconds: 30 + httpGet: + path: /health + port: admin + initialDelaySeconds: 10 + periodSeconds: 10 # -- Readiness probe # @default -- See `values.yaml` readinessProbe: - tcpSocket: - port: http + httpGet: + path: /ready + port: admin initialDelaySeconds: 10 periodSeconds: 10