Autopurge config for zookeeper in kubernetes not working

Viewed 28

I am trying to put the autopurge config for zookeeper in release.yaml file but it doesn't seem working.

Even after adding the purgeInterval =1 and snapRetainCount = 5, it's always autopurge.snapRetainCount=3 autopurge.purgeInterval=0

Below is the .yaml I am using for zookeeper in Kubernetes-

zookeeper:
## If true, install the Zookeeper chart alongside Pinot
## ref: https://github.com/kubernetes/charts/tree/master/incubator/zookeeper
  enabled: true
  urlOverride: "my-zookeeper:2181/pinot"
  port: 2181
  replicaCount: 3
  autopurge:
    purgeInterval: 1
    snapRetainCount: 5
  env:
    ## The JVM heap size to allocate to Zookeeper
    ZK_HEAP_SIZE: "256M"
    #ZOO_MY_ID: 1
  persistence:
    enabled: true
  image:
    PullPolicy: "IfNotPresent"
  resources:
    requests:
      cpu: 200m
      memory: 256Mi
    limits:
      cpu: 500m
      memory: 1Gi

Can anyone please help?

0 Answers
Related