You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by nw...@apache.org on 2019/11/28 07:49:19 UTC

[incubator-heron] branch master updated: BUG: bookie statefulset helm template specifies incorrect service name (#3410)

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

nwang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git


The following commit(s) were added to refs/heads/master by this push:
     new 4bca2e5  BUG: bookie statefulset helm template specifies incorrect service name (#3410)
4bca2e5 is described below

commit 4bca2e55995b4a1a5c4550c854a4a09ceffd02fa
Author: Scott <47...@users.noreply.github.com>
AuthorDate: Thu Nov 28 02:49:11 2019 -0500

    BUG: bookie statefulset helm template specifies incorrect service name (#3410)
    
    * Update bookie template to use correct service name
    
    * helm add bookie toleration for unready endpoints
---
 deploy/kubernetes/helm/templates/bookie.yaml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/deploy/kubernetes/helm/templates/bookie.yaml b/deploy/kubernetes/helm/templates/bookie.yaml
index acb359e..7a76c56 100644
--- a/deploy/kubernetes/helm/templates/bookie.yaml
+++ b/deploy/kubernetes/helm/templates/bookie.yaml
@@ -71,7 +71,7 @@ metadata:
     component: {{ .Release.Name }}-bookie
 spec:
 {{- if or (eq .Values.platform "gke") (eq .Values.platform "minikube") }}
-  serviceName: {{ .Release.Name }}-bookkeeper
+  serviceName: {{ .Release.Name }}-bookie
   replicas: {{ $bookieReplicas }}
 {{- end }}
 
@@ -200,6 +200,10 @@ spec:
 apiVersion: v1
 kind: Service
 metadata:
+  {{- if or (eq .Values.platform "gke") (eq .Values.platform "minikube") }}
+  annotations:
+    service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
+  {{- end }}
   name: {{ .Release.Name }}-bookie
   labels:
     app: {{ .Release.Name }}-bookkeeper