zookeeper-cluster
Type: component. From: the zookeeper-operator addon.
zookeeper cluster component
Parameters
replicas int default 3The size of the zookeeper cluster.
maxUnavailableReplicas int default 1Max unavailable replicas in pdb
triggerRollingRestart bool default falseIf true, the zookeeper cluster is restarted. After the restart is triggered, this value is auto-reverted to false.
domainName stringExternal host name appended for dns annotation
kubernetesClusterDomain string default cluster.localDomain of the kubernetes cluster
labels object default {}Specifies the labels to be attached.
ports listGroups the ports for a zookeeper cluster node for easy access.
pod objectDefines the policy to create new pods for the zookeeper cluster.
clientService objectDefines the policy to create client Service for the zookeeper cluster.
headlessService objectDefines the policy to create headless Service for the zookeeper cluster.
adminServerService objectDefines the policy to create AdminServer Service for the zookeeper cluster.
storageType string default persistenceType of storage that can be used it can take either ephemeral or persistence as value.
containers list requiredApplication containers run with the zookeeper pod.
initContainers list requiredInit Containers to add to the zookeeper pods.
volumes list requiredNamed volumes that may be accessed by any container in the pod.
volumeMounts list requiredCustomized volumeMounts for zookeeper container that can be configured to mount volumes to zookeeper container.
image (3) Image configuration
repository string default pravega/zookeeperImage repository
tag string default 0.2.14Image tag
pullPolicy string default IfNotPresentImage pull policy
probes (9) Probes configuration
readiness (5) readiness
initialDelaySeconds int default 10Number of seconds after the container has started before readiness probe is initiated.
periodSeconds int default 10Number of seconds in which readiness probe will be performed.
failureThreshold int default 3Number of seconds after which the readiness probe times out.
successThreshold int default 1Minimum number of consecutive successes for the readiness probe to be considered successful after having failed.
timeoutSeconds int default 10Number of times Kubernetes will retry after a readiness probe failure before restarting the container.
liveness (4) liveness
initialDelaySeconds int default 10Number of seconds after the container has started before liveness probe is initiated.
periodSeconds int default 10Number of seconds in which liveness probe will be performed.
failureThreshold int default 3Number of seconds after which the liveness probe times out.
timeoutSeconds int default 10Number of seconds after which the liveness probe times out.
config (16)
initLimit int default 10Amount of time (in ticks) to allow followers to connect and sync to a leader.
tickTime int default 2000Length of a single tick which is the basic time unit used by Zookeeper (measured in milliseconds).
syncLimit int default 2Amount of time (in ticks) to allow followers to sync with Zookeeper.
globalOutstandingLimit int default 1000Max limit for outstanding requests.
preAllocSize int default 65536PreAllocSize in kilobytes.
snapCount int default 100000The number of transactions recorded in the transaction log before a snapshot can be taken.
commitLogCount int default 500The number of committed requests in memory.
snapSizeLimitInKb int default 4194304SnapSizeLimitInKb.
maxCnxns int default 0The total number of concurrent connections that can be made to a zookeeper server.
maxClientCnxns int default 60The number of concurrent connections that a single client.
minSessionTimeout int default 4000The minimum session timeout in milliseconds that the server will allow the client to negotiate.
maxSessionTimeout int default 40000The maximum session timeout in milliseconds that the server will allow the client to negotiate.
autoPurgeSnapRetainCount int default 3The number of snapshots to be retained.
autoPurgePurgeInterval int default 1The time interval in hours for which the purge task has to be triggered.
quorumListenOnAllIPs bool default falseWhether 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 DeleteReclaim policy for persistent volumes.
storageClassName stringStorage class for persistent volumes.
volumeSize string default 20GiSize of the volume requested for persistent volumes.
ephemeral (2) Ephemeral storage type configuration.
emptydirvolumesource (2)
medium stringWhat type of storage medium should back the directory.
sizeLimit string default 20GiTotal amount of local storage required for the EmptyDir volume.