Skip to content

Commit

Permalink
Helm chart Bookkeeper fix (apache#3381)
Browse files Browse the repository at this point in the history
* Kubernetes Statefulset bug fix

* Update bookie.yaml

Updated to only use hostname with Statefulset
  • Loading branch information
nicknezis authored and sreev committed Apr 9, 2020
1 parent a23b42a commit 63fb9fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/kubernetes/helm/templates/bookie.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ data:
BK_indexDirectories: "/bookkeeper/data/ledgers"
BK_zkServers: {{ .Release.Name }}-zookeeper:{{ .Values.zookeeper.clientPort }}
BK_autoRecoveryDaemonEnabled: "true"
{{- if or (eq .Values.platform "gke") (eq .Values.platform "minikube") }}
BK_useHostNameAsBookieID: "true"
{{- end }}
# TODO: Issue 458: https://github.com/apache/bookkeeper/issues/458
{{- if eq .Values.bookkeeper.prometheus.enabled true }}
BK_enableStatistics: "true"
Expand Down

0 comments on commit 63fb9fa

Please sign in to comment.