diff --git a/charts/cubejs/Chart.yaml b/charts/cubejs/Chart.yaml index 1b9924b..40f7cbe 100644 --- a/charts/cubejs/Chart.yaml +++ b/charts/cubejs/Chart.yaml @@ -19,7 +19,7 @@ maintainers: email: developers@taskworld.com # Increment this version on every chart change -version: 1.0.3 +version: 1.0.4 # Tracks the deployed Cube.js application version appVersion: "1.6.29" diff --git a/charts/cubejs/templates/cubestore-router-service.yaml b/charts/cubejs/templates/cubestore-router-service.yaml index f37c57c..da45424 100644 --- a/charts/cubejs/templates/cubestore-router-service.yaml +++ b/charts/cubejs/templates/cubestore-router-service.yaml @@ -11,7 +11,7 @@ spec: - port: {{ .Values.cubestoreRouter.service.service_port }} targetPort: {{ .Values.cubestoreRouter.service.port }} protocol: TCP - name: http + name: tcp-meta - port: 3030 targetPort: 3030 protocol: TCP diff --git a/charts/cubejs/templates/cubestore-router-statefulset.yaml b/charts/cubejs/templates/cubestore-router-statefulset.yaml index eb813b9..e2fce04 100644 --- a/charts/cubejs/templates/cubestore-router-statefulset.yaml +++ b/charts/cubejs/templates/cubestore-router-statefulset.yaml @@ -59,7 +59,7 @@ spec: image: "{{ .Values.cubestoreRouter.image }}" imagePullPolicy: {{ .Values.cubestoreRouter.pullPolicy }} ports: - - name: http + - name: tcp-meta containerPort: {{ .Values.cubestoreRouter.service.port }} protocol: TCP - name: http2 @@ -69,14 +69,16 @@ spec: containerPort: 3306 protocol: TCP livenessProbe: - tcpSocket: - port: {{ .Values.cubestoreRouter.service.port }} + httpGet: + path: /livez + port: 3031 initialDelaySeconds: 30 periodSeconds: 10 failureThreshold: 3 readinessProbe: - tcpSocket: - port: {{ .Values.cubestoreRouter.service.port }} + httpGet: + path: /readyz + port: 3031 initialDelaySeconds: 10 periodSeconds: 5 failureThreshold: 3 diff --git a/charts/cubejs/templates/cubestore-worker-service.yaml b/charts/cubejs/templates/cubestore-worker-service.yaml index 7dccd63..705d9c6 100644 --- a/charts/cubejs/templates/cubestore-worker-service.yaml +++ b/charts/cubejs/templates/cubestore-worker-service.yaml @@ -11,6 +11,6 @@ spec: - port: {{ .Values.cubestoreWorker.service.service_port }} targetPort: {{ .Values.cubestoreWorker.service.port }} protocol: TCP - name: http + name: tcp-worker selector: cubejsApp: cubestoreWorker diff --git a/charts/cubejs/templates/cubestore-worker-statefulset.yaml b/charts/cubejs/templates/cubestore-worker-statefulset.yaml index 4f3890e..cd62a68 100644 --- a/charts/cubejs/templates/cubestore-worker-statefulset.yaml +++ b/charts/cubejs/templates/cubestore-worker-statefulset.yaml @@ -61,7 +61,7 @@ spec: image: "{{ .Values.cubestoreWorker.image }}" imagePullPolicy: {{ .Values.cubestoreWorker.pullPolicy }} ports: - - name: http + - name: tcp-worker containerPort: {{ .Values.cubestoreWorker.service.port }} protocol: TCP livenessProbe: