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

feat(relayminer): Expose additional port for ping server #41

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
3 changes: 3 additions & 0 deletions charts/relayminer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ spec:
- name: metrics
containerPort: {{ .Values.metrics.port }}
protocol: TCP
- name: status
containerPort: {{ .Values.ping.port }}
protocol: TCP
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
Expand Down
4 changes: 4 additions & 0 deletions charts/relayminer/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,9 @@ spec:
targetPort: {{ .Values.metrics.port }}
protocol: TCP
name: metrics
- port: {{ .Values.ping.port }}
targetPort: {{ .Values.ping.port }}
protocol: TCP
name: status
selector:
{{- include "relayminer.selectorLabels" . | nindent 4 }}
6 changes: 6 additions & 0 deletions charts/relayminer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ config:
enabled: true
# If changing port here, make sure to adjust `metrics.serviceMonitor.port`
addr: :9090
ping:
enabled: true
addr: :8081
pprof:
enabled: false
addr: localhost:6060
Expand Down Expand Up @@ -62,6 +65,9 @@ metrics:
enabled: false
port: 9090

ping:
port: 8081

podAnnotations: {}
podLabels: {}

Expand Down