add targetport for grafana nad manager service (#37)

Co-authored-by: rahul.name <rahul@mail.com>
This commit is contained in:
Rahul Vashishth 2020-07-15 10:44:11 +05:30 committed by GitHub
parent 8f9c1d126e
commit 714ff4131e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View File

@ -34,7 +34,8 @@ spec:
type: {{ .Values.grafana.service.type }}
ports:
- name: server
port: {{ .Values.grafana.port }}
port: {{ .Values.grafana.service.port }}
targetPort: {{ .Values.grafana.service.targetPort }}
protocol: TCP
selector:
{{- include "pulsar.matchLabels" . | nindent 4 }}

View File

@ -32,7 +32,8 @@ spec:
type: {{ .Values.pulsar_manager.service.type }}
ports:
- name: server
port: {{ .Values.pulsar_manager.port }}
port: {{ .Values.pulsar_manager.service.port }}
targetPort: {{ .Values.pulsar_manager.service.targetPort }}
protocol: TCP
selector:
app: {{ template "pulsar.name" . }}

View File

@ -803,7 +803,6 @@ grafana:
annotations: {}
tolerations: []
gracePeriod: 30
port: 3000
resources:
requests:
memory: 250Mi
@ -813,6 +812,8 @@ grafana:
##
service:
type: LoadBalancer
port: 3000
targetPort: 3000
annotations: {}
plugins: []
## Grafana ingress
@ -848,7 +849,6 @@ grafana:
##
pulsar_manager:
component: pulsar-manager
port: 9527
replicaCount: 1
# nodeSelector:
# cloud.google.com/gke-nodepool: default-pool
@ -873,6 +873,8 @@ pulsar_manager:
##
service:
type: LoadBalancer
port: 9527
targetPort: 9527
annotations: {}
admin:
user: pulsar