diff --git a/charts/mlrun-ce/Chart.yaml b/charts/mlrun-ce/Chart.yaml index 31fa9cdb..01ac4c48 100644 --- a/charts/mlrun-ce/Chart.yaml +++ b/charts/mlrun-ce/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: mlrun-ce -version: 0.11.0-rc7 +version: 0.11.0-rc8 description: MLRun Open Source Stack home: https://iguazio.com icon: https://www.iguazio.com/wp-content/uploads/2019/10/Iguazio-Logo.png diff --git a/charts/mlrun-ce/non_admin_cluster_ip_installation_values.yaml b/charts/mlrun-ce/non_admin_cluster_ip_installation_values.yaml index e407db6b..fb1f4de3 100644 --- a/charts/mlrun-ce/non_admin_cluster_ip_installation_values.yaml +++ b/charts/mlrun-ce/non_admin_cluster_ip_installation_values.yaml @@ -47,6 +47,11 @@ minio: mode: standalone replicas: 1 +timescaledb: + service: + type: ClusterIP + nodePort: "" + spark-operator: enabled: false diff --git a/charts/mlrun-ce/templates/NOTES.txt b/charts/mlrun-ce/templates/NOTES.txt index 540fa389..90aee48c 100644 --- a/charts/mlrun-ce/templates/NOTES.txt +++ b/charts/mlrun-ce/templates/NOTES.txt @@ -117,5 +117,15 @@ Prometheus UI is available at: {{- end }} {{- end }} +{{- if .Values.timescaledb.enabled }} +{{- if eq .Values.timescaledb.service.type "NodePort" }} +{{- "\n" }} +TimescaleDB is available at: +{{ .Values.global.externalHostAddress }}:{{ .Values.timescaledb.service.nodePort }} +- username: {{ .Values.timescaledb.auth.username }} +- database: {{ .Values.timescaledb.auth.database }} +{{- end }} +{{- end }} + Happy MLOPSing!!! :] {{- end }} diff --git a/charts/mlrun-ce/templates/timescaledb/service.yaml b/charts/mlrun-ce/templates/timescaledb/service.yaml index d1050c7b..42286493 100644 --- a/charts/mlrun-ce/templates/timescaledb/service.yaml +++ b/charts/mlrun-ce/templates/timescaledb/service.yaml @@ -12,6 +12,9 @@ spec: port: {{ .Values.timescaledb.service.port }} targetPort: postgresql protocol: TCP +{{- if (and (eq .Values.timescaledb.service.type "NodePort") (not (empty .Values.timescaledb.service.nodePort))) }} + nodePort: {{ .Values.timescaledb.service.nodePort }} +{{- end }} selector: {{- include "mlrun-ce.timescaledb.selectorLabels" . | nindent 4 }} {{- end }} diff --git a/charts/mlrun-ce/values.yaml b/charts/mlrun-ce/values.yaml index 35d0c3b3..f403ec0b 100644 --- a/charts/mlrun-ce/values.yaml +++ b/charts/mlrun-ce/values.yaml @@ -472,8 +472,9 @@ timescaledb: tag: "pg17.7-ts2.24.0" pullPolicy: IfNotPresent service: - type: ClusterIP + type: NodePort port: 5432 + nodePort: 30110 auth: username: postgres password: postgres diff --git a/tests/kind-test.sh b/tests/kind-test.sh index 5e677a36..c99a182e 100755 --- a/tests/kind-test.sh +++ b/tests/kind-test.sh @@ -78,6 +78,9 @@ nodes: - containerPort: 30443 hostPort: 30443 protocol: TCP + - containerPort: 30110 + hostPort: 30110 + protocol: TCP EOF }