zookeeper-operator icon indicating copy to clipboard operation
zookeeper-operator copied to clipboard

Make zk-operator pod replicas configurable

Open janhoy opened this issue 2 years ago • 1 comments

Description

Can we make replicas for the ZK operator itself configurable? I have tried for the Solr operator to run 2 instances and it works well. The main reason to do so would be for environments where they run policy enforcement that all Deployments must have >1 replica, e.g. https://kyverno.io/policies/other/require_deployments_have_multiple_replicas/require_deployments_have_multiple_replicas/

Importance

This is nice-to-have, since we can make exceptions to the policy rules.

Location

https://github.com/pravega/zookeeper-operator/blob/master/charts/zookeeper-operator/templates/operator.yaml

Suggestions for an improvement

Make a value for replicas

janhoy avatar Dec 13 '22 14:12 janhoy

Agree. This would be a great addition. Not sure if there is a limitation. Something that I am reading HERE

@anishakj @spiegela @amuraru @SrishT - Would you have any probable timeline for the next release, and can we add this feature? It would be great to run the zookeeper-operator with > 1 replica for high availability.

iampranabroy avatar Feb 10 '23 14:02 iampranabroy