-
Notifications
You must be signed in to change notification settings - Fork 59
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
Add VPC to k8s manifest (change default to persistent - true) #200
Conversation
@meilisearch sync-manifest |
Hey @zamai can you check the files changed? It is empty :) |
@brunoocasali I figured that manifest is generated from helm charts, and I saw that persistence is turned off by default. I suggest switching it to |
Hi @zamai can you update the chart version to v0.4.0? Since you changed a default configuration the chart linters are complaining about that. We can merge it after that! |
@meilisearch sync-manifest |
@brunoocasali updated the PR |
I can't figure out why the CI does not run 😬 |
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.
LGTM!
bors merge
200: Add VPC to k8s manifest (change default to persistent - true) r=brunoocasali a=zamai # Pull Request The plain k8s manifest (not the HELM version), does not have PVC for the kube stateful set. This PR adds it for the next developer who wants to grab manifest for working meilisearch without using helm. ## Related issue Related issue:, #159 ## What does this PR do? - add's missing PVC to the k8s manifest ## PR checklist Please check if your PR fulfills the following requirements: - [ ] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Alex Zamai <[email protected]> Co-authored-by: Bruno Casali <[email protected]> Co-authored-by: zamai <[email protected]>
Build failed:
|
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.
Hey @zamai can you help me with my doubts?
@@ -113,7 +113,7 @@ ingress: | |||
|
|||
persistence: | |||
# -- Enable persistence using PVC | |||
enabled: false | |||
enabled: true |
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 don't know why I noticed that earlier...
You changed this to true
but the PR description only mentions that the idea is to provide the PVC for the plain k8s version. Why this have to change then?
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.
Initially I thought that plain k8s version is separate from helm charts, but when I saw that sync-manifest command generates k8s yaml files bases on charts values, so I updated this value to be true
. I think it's a sensible default - having persistent storage for the index of your search cluster.
@@ -2,7 +2,7 @@ apiVersion: v1 | |||
appVersion: "v1.5.0" | |||
description: A Helm chart for the Meilisearch search engine | |||
name: meilisearch | |||
version: 0.3.0 | |||
version: 0.4.0 |
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.
Based on the previous comment, I guess this change could be reverted as well.
Pull Request
The plain k8s manifest (not the HELM version), does not have PVC for the kube stateful set.
This PR adds it for the next developer who wants to grab manifest for working meilisearch without using helm.
Related issue
Related issue:, #159
What does this PR do?
PR checklist
Please check if your PR fulfills the following requirements:
Thank you so much for contributing to Meilisearch!