Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Helm chart Bookkeeper fix (#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 nwangtw committed Nov 7, 2019
1 parent 8045a30 commit 135fb76
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 135fb76

Please sign in to comment.