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

Commit 135fb76

Browse files
nicknezisnwangtw
authored andcommitted
Helm chart Bookkeeper fix (#3381)
* Kubernetes Statefulset bug fix * Update bookie.yaml Updated to only use hostname with Statefulset
1 parent 8045a30 commit 135fb76

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deploy/kubernetes/helm/templates/bookie.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ data:
4141
BK_indexDirectories: "/bookkeeper/data/ledgers"
4242
BK_zkServers: {{ .Release.Name }}-zookeeper:{{ .Values.zookeeper.clientPort }}
4343
BK_autoRecoveryDaemonEnabled: "true"
44+
{{- if or (eq .Values.platform "gke") (eq .Values.platform "minikube") }}
45+
BK_useHostNameAsBookieID: "true"
46+
{{- end }}
4447
# TODO: Issue 458: https://github.com/apache/bookkeeper/issues/458
4548
{{- if eq .Values.bookkeeper.prometheus.enabled true }}
4649
BK_enableStatistics: "true"

0 commit comments

Comments
 (0)