Skip to content

Commit

Permalink
fix(deployment): added jmx port for mce deployment (#110)
Browse files Browse the repository at this point in the history
Co-authored-by: Aezo Teo <aezo.teo@grabtaxi.com>
  • Loading branch information
aezomz and aezoteo-grabtaxi authored Apr 22, 2022
1 parent 72019cf commit 5be092e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
8 changes: 4 additions & 4 deletions charts/datahub/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@ description: A Helm chart for LinkedIn DataHub
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.2.69
version: 0.2.70
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 0.8.33
dependencies:
- name: datahub-gms
version: 0.2.4
version: 0.2.5
repository: file://./subcharts/datahub-gms
condition: datahub-gms.enabled
- name: datahub-frontend
version: 0.2.2
repository: file://./subcharts/datahub-frontend
condition: datahub-frontend.enabled
- name: datahub-mae-consumer
version: 0.2.4
version: 0.2.5
repository: file://./subcharts/datahub-mae-consumer
condition: global.datahub_standalone_consumers_enabled
- name: datahub-mce-consumer
version: 0.2.4
version: 0.2.5
repository: file://./subcharts/datahub-mce-consumer
condition: global.datahub_standalone_consumers_enabled
- name: datahub-ingestion-cron
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
- name: http
containerPort: 8080
protocol: TCP
{{- if .Values.global.datahub.monitoring.enablePrometheus }}
{{- if or .Values.global.datahub.monitoring.enablePrometheus .Values.global.datahub.monitoring.enableJMXPort }}
- name: jmx
containerPort: 4318
protocol: TCP
Expand Down
1 change: 1 addition & 0 deletions charts/datahub/subcharts/datahub-gms/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ global:
datahub:
monitoring:
enablePrometheus: false
enableJMXPort: false
gms:
port: "8080"
appVersion: "1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
- name: http
containerPort: 9091
protocol: TCP
{{- if .Values.global.datahub.monitoring.enablePrometheus }}
{{- if or .Values.global.datahub.monitoring.enablePrometheus .Values.global.datahub.monitoring.enableJMXPort }}
- name: jmx
containerPort: 4318
protocol: TCP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
{{- if or .Values.global.datahub.monitoring.enablePrometheus .Values.global.datahub.monitoring.enableJMXPort }}
- name: jmx
containerPort: 4318
protocol: TCP
{{- end }}
livenessProbe:
httpGet:
path: /actuator/health
Expand Down

0 comments on commit 5be092e

Please sign in to comment.