Skip to content

Commit

Permalink
[jaeger] Add ability to edit port name and target port name in query …
Browse files Browse the repository at this point in the history
…and collector services (#590)
  • Loading branch information
vishukamble authored Jul 28, 2024
1 parent 4c63b62 commit de6fa20
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/jaeger/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 1.53.0
description: A Jaeger Helm chart for Kubernetes
name: jaeger
type: application
version: 3.1.1
version: 3.1.2
# CronJobs require v1.21
kubeVersion: ">= 1.21-0"
keywords:
Expand Down
4 changes: 2 additions & 2 deletions charts/jaeger/templates/collector-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ spec:
protocol: TCP
targetPort: {{ .Values.collector.service.otlp.http.name }}
{{- end }}
- name: admin
- name: {{ .Values.collector.service.admin.name }}
port: 14269
targetPort: admin
targetPort: {{ .Values.collector.service.admin.targetPort }}
selector:
{{- include "jaeger.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: collector
Expand Down
4 changes: 2 additions & 2 deletions charts/jaeger/templates/query-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ spec:
port: 16685
protocol: TCP
targetPort: grpc
- name: admin
- name: {{ .Values.query.service.admin.name }}
port: 16687
protocol: TCP
targetPort: admin
targetPort: {{ .Values.query.service.admin.targetPort }}
selector:
{{- include "jaeger.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: query
Expand Down
6 changes: 6 additions & 0 deletions charts/jaeger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,9 @@ collector:
# name: otlp-http
# port: 4318
# nodePort:
admin:
name: admin
targetPort: admin
ingress:
enabled: false
# For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
Expand Down Expand Up @@ -693,6 +696,9 @@ query:
# targetPort: 8080
# Specify a specific node port when type is NodePort
# nodePort: 32500
admin:
name: admin
targetPort: admin
ingress:
enabled: false
# For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName
Expand Down

0 comments on commit de6fa20

Please sign in to comment.