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

fix: make probes more robust #347

Merged
merged 3 commits into from
Dec 9, 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
2 changes: 1 addition & 1 deletion charts/erpc/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: erpc
description: eRPC is a fault-tolerant EVM RPC proxy and re-org aware permanent caching solution. It is built with read-heavy use-cases in mind such as data indexing and high-load frontend usage.
home: https://github.com/erpc/erpc
type: application
version: 0.0.1
version: 0.0.2
maintainers:
- name: barnabasbusa
email: [email protected]
Expand Down
2 changes: 1 addition & 1 deletion charts/erpc/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# erpc

![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 0.0.2](https://img.shields.io/badge/Version-0.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

eRPC is a fault-tolerant EVM RPC proxy and re-org aware permanent caching solution. It is built with read-heavy use-cases in mind such as data indexing and high-load frontend usage.

Expand Down
7 changes: 7 additions & 0 deletions charts/erpc/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,10 @@ Create the name of the service account to use
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}

{{/*
Get the HTTP port from values or default to 4000
*/}}
{{- define "erpc.http" -}}
{{- default 4000 .Values.httpPort }}
{{- end }}
10 changes: 6 additions & 4 deletions charts/erpc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ config: |
httpHostV4: "0.0.0.0"
listenV6: true
httpHostV6: "[::]"
httpPort: 4000
httpPort: {{ .Values.httpPort }}

metrics:
enabled: true
hostV4: "0.0.0.0"
hostV6: "[::]"
port: 4001
port: {{ .Values.metricsPort }}

projects:
- id: main
Expand Down Expand Up @@ -91,15 +91,17 @@ annotations: {}
# -- Liveness probe
# @default -- See `values.yaml`
livenessProbe:
tcpSocket:
httpGet:
path: /healthcheck
port: http
initialDelaySeconds: 60
periodSeconds: 120

# -- Readiness probe
# @default -- See `values.yaml`
readinessProbe:
tcpSocket:
httpGet:
path: /healthcheck
port: http
initialDelaySeconds: 10
periodSeconds: 10
Expand Down
Loading