mirror of
https://github.com/bitnami/charts.git
synced 2026-03-07 08:07:55 +08:00
Merge pull request #1187 from bitnami/zookeeper_logs
Add ZOO_LOG_LEVEL env var
This commit is contained in:
@@ -41,6 +41,10 @@ $ helm delete my-release
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart and deletes the release.
|
||||
|
||||
## Log level
|
||||
|
||||
You can configure the Zookeeper log level using the `ZOO_LOG_LEVEL` environment variable. By default, it is set to `ERROR` because of each readiness probe produce an `INFO` message on connection and a `WARN` message on disconnection.
|
||||
|
||||
## Configuration
|
||||
|
||||
The following tables lists the configurable parameters of the Zookeeper chart and their default values.
|
||||
@@ -74,6 +78,7 @@ The following tables lists the configurable parameters of the Zookeeper chart an
|
||||
| `auth.serverUsers` | List of user to be created | `[]` |
|
||||
| `auth.serverPasswords` | List of passwords to assign to users when created | `[]` |
|
||||
| `heapSize` | Size in MB for the Java Heap options (Xmx and XMs) | `[]` |
|
||||
| `logLevel` | Log level of Zookeeper server | `ERROR` |
|
||||
| `jvmFlags` | Default JVMFLAGS for the ZooKeeper process | `nil` |
|
||||
| `config` | Configure ZooKeeper with a custom zoo.conf file | `nil` |
|
||||
| `service.type` | Kubernetes Service type | `ClusterIP` |
|
||||
|
||||
@@ -115,6 +115,8 @@ spec:
|
||||
{{- end }}
|
||||
- name: ZOO_HEAP_SIZE
|
||||
value: {{ .Values.heapSize | quote }}
|
||||
- name: ZOO_LOG_LEVEL
|
||||
value: {{ .Values.logLevel | quote }}
|
||||
- name: ALLOW_ANONYMOUS_LOGIN
|
||||
value: {{ ternary "yes" "no" .Values.allowAnonymousLogin | quote }}
|
||||
{{- if .Values.jvmFlags }}
|
||||
|
||||
@@ -107,6 +107,10 @@ auth:
|
||||
##
|
||||
heapSize: 1024
|
||||
|
||||
## Log level for the Zookeeper server. ERROR by default. Have in mind if you set it to INFO or WARN the ReadinessProve will produce a lot of logs.
|
||||
##
|
||||
logLevel: ERROR
|
||||
|
||||
## Default JVMFLAGS for the ZooKeeper process
|
||||
##
|
||||
# jvmFlags:
|
||||
|
||||
Reference in New Issue
Block a user