-
Notifications
You must be signed in to change notification settings - Fork 10
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
base: master
Are you sure you want to change the base?
Added volumes and volume mounts variables to be able to use wordforms… #88
Conversation
….txt and stopwords.txt
b9a1ba7
to
f4cfd54
Compare
@@ -120,6 +127,11 @@ spec: | |||
- name: config-volume | |||
configMap: | |||
name: {{ include "manticoresearch.fullname" . }}-balancer-config | |||
{{- range .Values.balancer.volumes }} |
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 }} |
There was a problem hiding this comment.
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
….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.