Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure Resources for zookeeper operator #609

Open
aloosnetmatch opened this issue Jun 12, 2024 · 0 comments
Open

Configure Resources for zookeeper operator #609

aloosnetmatch opened this issue Jun 12, 2024 · 0 comments

Comments

@aloosnetmatch
Copy link

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:
- name: post-install-upgrade-job
image: "{{ .Values.hooks.image.repository }}:{{ .Values.hooks.image.tag }}"
resources:
limits:
cpu: < optional value , like 1>
memory: < optional value , like 512Mi>
requests:
cpu: < required value , like "500m" >
memory: < required value , like 256Mi >

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:
- name: pre-delete-job
image: "{{ .Values.hooks.image.repository }}:{{ .Values.hooks.image.tag }}"
resources:
limits:
cpu: < optional value , like 1>
memory: < optional value , like 512Mi>
requests:
cpu: < required value , like "500m" >
memory: < required value , like 256Mi >
**

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant