Skip to main content

Privacera Documentation

System-level settings for Zookeeper on Privacera Platform

The following table contains the list of custom properties that can be configured for Zookeeper.

Property

Description

Value

Default Value

ZOOKEEPER_PORT_EXTERNAL

Property to change the default port number for Zookeeper.

2181

ZOOKEEPER_K8S_READINESS_PROBE_DELAY_SECS

Time in seconds to delay the Kubernetes readiness probe for the Zookeeper pod.

5

ZOOKEEPER_K8S_READINESS_PROBE_FAILURE_THRESHOLD

Failure threshold is the number of times Kubernetes will try to perform the readiness probe for the Zookeeper pod.

3

ZOOKEEPER_K8S_READINESS_PROBE_PERIOD_SECS

Time in seconds to perform the Kubernetes readiness probe for the Zookeeper pod.

10

ZOOKEEPER_K8S_LIVENESS_PROBE_DELAY_SECS

Time in seconds to delay the Kubernetes liveness probe for the Zookeeper pod.

60

ZOOKEEPER_K8S_LIVENESS_PROBE_PERIOD_SECS

Time in seconds to perform the Kubernetes liveness probe for the Zookeeper pod.

60

ZOOKEEPER_K8S_LIVENESS_PROBE_FAILURE_THRESHOLD

Failure threshold is the number of times Kubernetes will try to perform the liveness probe for the Zookeeper pod.

3

ZOOKEEPER_K8S_STARTUP_PROBE_ENABLED

Enable the startup probe for the Zookeeper pod.

true, false

false

ZOOKEEPER_K8S_STARTUP_PROBE_PERIOD_SECS

Time in seconds to perform the Kubernetes startup probe for the Zookeeper pod.

60

ZOOKEEPER_K8S_STARTUP_PROBE_DELAY_SECS

Time in seconds to delay the Kubernetes startup probe for the Zookeeper pod.

60

ZOOKEEPER_K8S_STARTUP_PROBE_FAILURE_THRESHOLD

Failure threshold is the number of times Kubernetes will try to perform the startup probe for the Zookeeper pod.

3

Memory Variables

ZOOKEEPER_HEAP_MIN_MEMORY_MB

Minimum Java Heap memory in MB used by Zookeeper.

For example: ZOOKEEPER_HEAP_MIN_MEMORY_MB: "1024"

ZOOKEEPER_HEAP_MIN_MEMORY

Minimum Java Heap memory used by Zookeeper. Setting this value will override ZOOKEEPER_HEAP_MIN_MEMORY_MB.

For example: ZOOKEEPER_HEAP_MIN_MEMORY: "1g"

ZOOKEEPER_HEAP_MAX_MEMORY_MB

Maximum Java Heap memory in MB used by Zookeeper.

For example: ZOOKEEPER_HEAP_MAX_MEMORY_MB: "1024"

ZOOKEEPER_HEAP_MAX_MEMORY

Maximum Java Heap memory used by Zookeeper. Setting this value will override ZOOKEEPER_HEAP_MAX_MEMORY_MB.

For example: ZOOKEEPER_HEAP_MAX_MEMORY: "1g"

ZOOKEEPER_K8S_MEM_REQUESTS_MB

Minimum amount of Kubernetes memory in MB to be requested by Zookeeper.

For example: ZOOKEEPER_K8S_MEM_REQUESTS_MB: "1024"

ZOOKEEPER_K8S_MEM_REQUESTS

Minimum amount of Kubernetes memory to be used by Zookeeper. Setting this value will override ZOOKEEPER_K8S_MEM_REQUESTS_MB.

For example: ZOOKEEPER_K8S_MEM_REQUESTS: "1G"

ZOOKEEPER_K8S_MEM_LIMITS_MB

Maximum amount of Kubernetes memory in MB to be requested by Zookeeper.

For example: ZOOKEEPER_K8S_MEM_LIMITS_MB: "1024"

ZOOKEEPER_K8S_MEM_LIMITS

Maximum amount of Kubernetes memory to be used by Zookeeper. Setting this value will override ZOOKEEPER_K8S_MEM_LIMITS_MB.

For example: ZOOKEEPER_K8S_MEM_LIMITS: "1G"

ZOOKEEPER_CPU_MIN

Minimum amount of Kubernetes CPU to be requested by Zookeeper.

For example: ZOOKEEPER_CPU_MIN: "0.5"

ZOOKEEPER_CPU_MAX

Maximum amount of Kubernetes CPU to be used by Zookeeper.

For example: ZOOKEEPER_CPU_MAX: "0.5"