A machine-readable index of this documentation for AI agents is available at https://kubevela.io/llms.txt. Markdown versions of documentation pages are available by appending .md to their URLs.
Skip to main content

zookeeper-cluster

Type: component. From: the zookeeper-operator addon.

zookeeper cluster component

Parameters​

replicas int default 3
The size of the zookeeper cluster.
maxUnavailableReplicas int default 1
Max unavailable replicas in pdb
triggerRollingRestart bool default false
If true, the zookeeper cluster is restarted. After the restart is triggered, this value is auto-reverted to false.
domainName string
External host name appended for dns annotation
kubernetesClusterDomain string default cluster.local
Domain of the kubernetes cluster
labels object default {}
Specifies the labels to be attached.
ports list
Groups the ports for a zookeeper cluster node for easy access.
pod object
Defines the policy to create new pods for the zookeeper cluster.
clientService object
Defines the policy to create client Service for the zookeeper cluster.
headlessService object
Defines the policy to create headless Service for the zookeeper cluster.
adminServerService object
Defines the policy to create AdminServer Service for the zookeeper cluster.
storageType string default persistence
Type of storage that can be used it can take either ephemeral or persistence as value.
containers list required
Application containers run with the zookeeper pod.
initContainers list required
Init Containers to add to the zookeeper pods.
volumes list required
Named volumes that may be accessed by any container in the pod.
volumeMounts list required
Customized volumeMounts for zookeeper container that can be configured to mount volumes to zookeeper container.
image (3) Image configuration
repository string default pravega/zookeeper
Image repository
tag string default 0.2.14
Image tag
pullPolicy string default IfNotPresent
Image pull policy
probes (9) Probes configuration
readiness (5) readiness
initialDelaySeconds int default 10
Number of seconds after the container has started before readiness probe is initiated.
periodSeconds int default 10
Number of seconds in which readiness probe will be performed.
failureThreshold int default 3
Number of seconds after which the readiness probe times out.
successThreshold int default 1
Minimum number of consecutive successes for the readiness probe to be considered successful after having failed.
timeoutSeconds int default 10
Number of times Kubernetes will retry after a readiness probe failure before restarting the container.
liveness (4) liveness
initialDelaySeconds int default 10
Number of seconds after the container has started before liveness probe is initiated.
periodSeconds int default 10
Number of seconds in which liveness probe will be performed.
failureThreshold int default 3
Number of seconds after which the liveness probe times out.
timeoutSeconds int default 10
Number of seconds after which the liveness probe times out.
config (16)
initLimit int default 10
Amount of time (in ticks) to allow followers to connect and sync to a leader.
tickTime int default 2000
Length of a single tick which is the basic time unit used by Zookeeper (measured in milliseconds).
syncLimit int default 2
Amount of time (in ticks) to allow followers to sync with Zookeeper.
globalOutstandingLimit int default 1000
Max limit for outstanding requests.
preAllocSize int default 65536
PreAllocSize in kilobytes.
snapCount int default 100000
The number of transactions recorded in the transaction log before a snapshot can be taken.
commitLogCount int default 500
The number of committed requests in memory.
snapSizeLimitInKb int default 4194304
SnapSizeLimitInKb.
maxCnxns int default 0
The total number of concurrent connections that can be made to a zookeeper server.
maxClientCnxns int default 60
The number of concurrent connections that a single client.
minSessionTimeout int default 4000
The minimum session timeout in milliseconds that the server will allow the client to negotiate.
maxSessionTimeout int default 40000
The maximum session timeout in milliseconds that the server will allow the client to negotiate.
autoPurgeSnapRetainCount int default 3
The number of snapshots to be retained.
autoPurgePurgeInterval int default 1
The time interval in hours for which the purge task has to be triggered.
quorumListenOnAllIPs bool default false
Whether Zookeeper server will listen for connections from its peers on all available IP addresses.
additionalConfig object default {}
Additional zookeeper coniguration parameters that should be defined in generated zoo.cfg file.
persistence (4) Persistant storage type configuration.
annotations object default {}
Specifies the annotations to attach to pvcs.
reclaimPolicy string default Delete
Reclaim policy for persistent volumes.
storageClassName string
Storage class for persistent volumes.
volumeSize string default 20Gi
Size of the volume requested for persistent volumes.
ephemeral (2) Ephemeral storage type configuration.
emptydirvolumesource (2)
medium string
What type of storage medium should back the directory.
sizeLimit string default 20Gi
Total amount of local storage required for the EmptyDir volume.