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

Added volumes and volume mounts variables to be able to use wordforms… #88

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fgroenendijk
Copy link

….txt and stopwords.txt.

For some context, I needed to change the stopwords to fit our usecase. In this way it's possible to provide a different wordforms.txt and stopwords.txt file.

Let me know if you need anything else from me.

@fgroenendijk fgroenendijk force-pushed the feat/allow-custom-stopwords-and-wordforms branch from b9a1ba7 to f4cfd54 Compare May 28, 2024 11:33
@sanikolaev sanikolaev requested a review from djklim87 May 29, 2024 11:21
charts/manticoresearch/templates/manticore-balancer.yaml Outdated Show resolved Hide resolved
@@ -120,6 +127,11 @@ spec:
- name: config-volume
configMap:
name: {{ include "manticoresearch.fullname" . }}-balancer-config
{{- range .Values.balancer.volumes }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably you forgot to add this variable to values.yml

@@ -120,6 +127,11 @@ spec:
- name: config-volume
configMap:
name: {{ include "manticoresearch.fullname" . }}-balancer-config
{{- range .Values.balancer.volumes }}
- name: {{ .name }}
configMap:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using the config map here is not a good idea. The ConfigMap size limit is 1 MB.

Wordforms can be pretty big, it's noticed in our documentation

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll look into this.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, looked into this. I'm at a loss as how to solve this. Do you have a suggestion for me?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mount volume as file and pass into creation table command link to mounted file as it described here

@@ -132,6 +139,11 @@ spec:
- name: config-volume
configMap:
name: {{ include "manticoresearch.fullname" . }}-worker-config
{{- range .Values.worker.volumes }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same as for balancer

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

Successfully merging this pull request may close these issues.

3 participants