apache / solr-operator

Official Kubernetes operator for Apache Solr
https://solr.apache.org/operator
Apache License 2.0
242 stars 112 forks source link

Configure Resources for zookeeper operator #708

Closed aloosnetmatch closed 2 weeks ago

aloosnetmatch commented 2 weeks ago

In our kubernetes environment , we require that "resources/requests" are configured. That is not an option right now in the helm chart for the zookeeper operator for the following containers:

post-install-upgrade-hooks.yaml pre-delete-hooks.yaml

post-install-upgrade-hooks.yaml: spec: backoffLimit: {{ .Values.hooks.backoffLimit }} template: metadata: name: {{ template "zookeeper-operator.fullname" . }}-post-install-upgrade spec: serviceAccountName: {{ template "zookeeper-operator.fullname" . }}-post-install-upgrade restartPolicy: Never containers:

pre-delete-hooks.yaml: spec: backoffLimit: 6 template: metadata: name: {{ template "zookeeper-operator.fullname" . }}-pre-delete spec: serviceAccountName: {{ template "zookeeper-operator.fullname" . }}-pre-delete restartPolicy: Never containers:

I would like these values to be configurable from the values file.

HoustonPutman commented 2 weeks ago

If you are installing the zk-operator through the solr operator chart, then all Zookeeper Operator options will be available under zookeeper-operator.*.

If these are options that the Zookeeper Operator does not currently provide, please open an issue there: https://github.com/pravega/zookeeper-operator