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(kiali-server): add custom nodeport for service #248

Merged
merged 9 commits into from
Feb 19, 2024
6 changes: 6 additions & 0 deletions kiali-server/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,17 @@ spec:
{{- end }}
protocol: TCP
port: {{ .Values.server.port }}
{{- if eq .Values.deployment.service_type "NodePort" }}
emreberber marked this conversation as resolved.
Show resolved Hide resolved
nodePort: {{ .Values.server.nodePort }}
emreberber marked this conversation as resolved.
Show resolved Hide resolved
{{- end }}
{{- if .Values.server.observability.metrics.enabled }}
- name: http-metrics
appProtocol: http
protocol: TCP
port: {{ .Values.server.observability.metrics.port }}
{{- if eq .Values.deployment.service_type "NodePort" }}
nodePort: {{ .Values.server.observability.metrics.nodePort }}
{{- end }}
emreberber marked this conversation as resolved.
Show resolved Hide resolved
{{- end }}
selector:
{{- include "kiali-server.selectorLabels" . | nindent 4 }}
Expand Down
2 changes: 2 additions & 0 deletions kiali-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ login_token:

server:
port: 20001
nodePort: 32475
emreberber marked this conversation as resolved.
Show resolved Hide resolved
observability:
metrics:
enabled: true
port: 9090
nodePort: 32476
emreberber marked this conversation as resolved.
Show resolved Hide resolved
web_root: ""