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 }} type: {{ .Values.grafana.service.type }}
ports: ports:
- name: server - name: server
port: {{ .Values.grafana.port }} port: {{ .Values.grafana.service.port }}
targetPort: {{ .Values.grafana.service.targetPort }}
protocol: TCP protocol: TCP
selector: selector:
{{- include "pulsar.matchLabels" . | nindent 4 }} {{- include "pulsar.matchLabels" . | nindent 4 }}

View File

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

View File

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