This is an automated email from the ASF dual-hosted git repository.

jackie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 04ebbf9ad0 [HELM] Fix Kubernetes Routing Issue (#13450)
04ebbf9ad0 is described below

commit 04ebbf9ad06e85a98df3e42ea3640fe5cb7d94f4
Author: piby180 <piby...@gmail.com>
AuthorDate: Thu Oct 3 01:11:02 2024 +0200

    [HELM] Fix Kubernetes Routing Issue (#13450)
---
 helm/pinot/templates/broker/service-external.yaml     | 1 +
 helm/pinot/templates/broker/service-headless.yaml     | 1 +
 helm/pinot/templates/broker/service.yaml              | 1 +
 helm/pinot/templates/controller/service-external.yaml | 1 +
 helm/pinot/templates/controller/service-headless.yaml | 1 +
 helm/pinot/templates/controller/service.yaml          | 1 +
 helm/pinot/templates/minion/service-headless.yaml     | 1 +
 helm/pinot/templates/minion/service.yaml              | 1 +
 helm/pinot/templates/server/service-headless.yaml     | 1 +
 helm/pinot/templates/server/service.yaml              | 1 +
 10 files changed, 10 insertions(+)

diff --git a/helm/pinot/templates/broker/service-external.yaml 
b/helm/pinot/templates/broker/service-external.yaml
index b340ef97dc..0c0e4382f5 100644
--- a/helm/pinot/templates/broker/service-external.yaml
+++ b/helm/pinot/templates/broker/service-external.yaml
@@ -29,6 +29,7 @@ metadata:
     {{- include "pinot.brokerLabels" . | nindent 4 }}
 spec:
   type: {{ .Values.broker.external.type }}
+  publishNotReadyAddresses: false
   ports:
     - name: external-broker
       port: {{ .Values.broker.external.port }}
diff --git a/helm/pinot/templates/broker/service-headless.yaml 
b/helm/pinot/templates/broker/service-headless.yaml
index 1fef96eb79..48af3450db 100644
--- a/helm/pinot/templates/broker/service-headless.yaml
+++ b/helm/pinot/templates/broker/service-headless.yaml
@@ -26,6 +26,7 @@ metadata:
     {{- include "pinot.brokerLabels" . | nindent 4 }}
 spec:
   clusterIP: None
+  publishNotReadyAddresses: true
   ports:
     # [pod_name].[service_name].[namespace].svc.cluster.local
     - name: {{ .Values.broker.service.name }}
diff --git a/helm/pinot/templates/broker/service.yaml 
b/helm/pinot/templates/broker/service.yaml
index 0f6dae17c3..b019fc8cc7 100644
--- a/helm/pinot/templates/broker/service.yaml
+++ b/helm/pinot/templates/broker/service.yaml
@@ -28,6 +28,7 @@ metadata:
     {{- include "pinot.brokerLabels" . | nindent 4 }}
 spec:
   type: {{ .Values.broker.service.type }}
+  publishNotReadyAddresses: false
   ports:
     # [pod_name].[service_name].[namespace].svc.cluster.local
     - name: {{ .Values.broker.service.name }}
diff --git a/helm/pinot/templates/controller/service-external.yaml 
b/helm/pinot/templates/controller/service-external.yaml
index ec2f0fc68c..42d71b017c 100644
--- a/helm/pinot/templates/controller/service-external.yaml
+++ b/helm/pinot/templates/controller/service-external.yaml
@@ -29,6 +29,7 @@ metadata:
     {{- include "pinot.controllerLabels" . | nindent 4 }}
 spec:
   type: {{ .Values.controller.external.type }}
+  publishNotReadyAddresses: false
   ports:
     - name: external-controller
       port: {{ .Values.controller.external.port }}
diff --git a/helm/pinot/templates/controller/service-headless.yaml 
b/helm/pinot/templates/controller/service-headless.yaml
index d7ff22ae16..b0d0460888 100644
--- a/helm/pinot/templates/controller/service-headless.yaml
+++ b/helm/pinot/templates/controller/service-headless.yaml
@@ -26,6 +26,7 @@ metadata:
     {{- include "pinot.controllerLabels" . | nindent 4 }}
 spec:
   clusterIP: None
+  publishNotReadyAddresses: true
   ports:
     # [pod_name].[service_name].[namespace].svc.cluster.local
     - name: {{ .Values.controller.service.name }}
diff --git a/helm/pinot/templates/controller/service.yaml 
b/helm/pinot/templates/controller/service.yaml
index 2e77c1359b..7b8d31422e 100644
--- a/helm/pinot/templates/controller/service.yaml
+++ b/helm/pinot/templates/controller/service.yaml
@@ -28,6 +28,7 @@ metadata:
     {{- include "pinot.controllerLabels" . | nindent 4 }}
 spec:
   type: {{ .Values.controller.service.type }}
+  publishNotReadyAddresses: false
   ports:
     # [pod_name].[service_name].[namespace].svc.cluster.local
     - name: {{ .Values.controller.service.name }}
diff --git a/helm/pinot/templates/minion/service-headless.yaml 
b/helm/pinot/templates/minion/service-headless.yaml
index 6e0c4decfd..c2ad42ca47 100644
--- a/helm/pinot/templates/minion/service-headless.yaml
+++ b/helm/pinot/templates/minion/service-headless.yaml
@@ -27,6 +27,7 @@ metadata:
     {{- include "pinot.minionLabels" . | nindent 4 }}
 spec:
   clusterIP: None
+  publishNotReadyAddresses: true
   ports:
     # [pod_name].[service_name].[namespace].svc.cluster.local
     - name: {{ .Values.minion.service.name }}
diff --git a/helm/pinot/templates/minion/service.yaml 
b/helm/pinot/templates/minion/service.yaml
index 6b80a62228..7bd7416bda 100644
--- a/helm/pinot/templates/minion/service.yaml
+++ b/helm/pinot/templates/minion/service.yaml
@@ -29,6 +29,7 @@ metadata:
     {{- include "pinot.minionLabels" . | nindent 4 }}
 spec:
   type: {{ .Values.minion.service.type }}
+  publishNotReadyAddresses: true
   ports:
     # [pod_name].[service_name].[namespace].svc.cluster.local
     - name: {{ .Values.minion.service.name }}
diff --git a/helm/pinot/templates/server/service-headless.yaml 
b/helm/pinot/templates/server/service-headless.yaml
index c6e219c5ac..070bda620f 100644
--- a/helm/pinot/templates/server/service-headless.yaml
+++ b/helm/pinot/templates/server/service-headless.yaml
@@ -26,6 +26,7 @@ metadata:
     {{- include "pinot.serverLabels" . | nindent 4 }}
 spec:
   clusterIP: None
+  publishNotReadyAddresses: true
   ports:
     # [pod_name].[service_name].[namespace].svc.cluster.local
     - name: {{ .Values.server.service.nettyPortName }}
diff --git a/helm/pinot/templates/server/service.yaml 
b/helm/pinot/templates/server/service.yaml
index d8f1cfa095..fd91654c73 100644
--- a/helm/pinot/templates/server/service.yaml
+++ b/helm/pinot/templates/server/service.yaml
@@ -28,6 +28,7 @@ metadata:
     {{- include "pinot.serverLabels" . | nindent 4 }}
 spec:
   type: {{ .Values.server.service.type }}
+  publishNotReadyAddresses: true
   ports:
     # [pod_name].[service_name].[namespace].svc.cluster.local
     - name: {{ .Values.server.service.nettyPortName }}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to