pravega / zookeeper-operator

Kubernetes Operator for Zookeeper
Apache License 2.0
368 stars 206 forks source link

Make zk-operator pod replicas configurable #519

Open janhoy opened 1 year ago

janhoy commented 1 year ago

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

iampranabroy commented 1 year ago

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.