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

feat: Support running querier #16

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

kavirajk
Copy link

@kavirajk kavirajk commented Oct 15, 2024

We added experimental support to our helm chart to run stateless querier. via values.experimental.querier.enabled=true

If you are using the helm chart that supports querier, you can run this local cluster using QUERIER=true flag.

To use it:

  1. COPY example overrides files from overrides/querier.yaml to values-overrides.yaml to the root of the repo
cp overrides/querier.yaml values-override.yaml
  1. RUN the script with QUERIER=true flag
QUERIER=true S3_OFFLOAD="true" HELM_BRANCH="kavirajk/helm-chart-support-experimental-querier" ./local-k8s.sh setup

We added experimental support to our helm chart to run stateless querier.
via `values.experimental.querier.enabled=true`

Signed-off-by: Kaviraj <[email protected]>
@kavirajk kavirajk marked this pull request as ready for review October 15, 2024 16:01
local-k8s.sh Show resolved Hide resolved
overrides/querier.yaml Show resolved Hide resolved
@weaviate-git-bot
Copy link

To avoid any confusion in the future about your contribution to Weaviate, we work with a Contributor License Agreement. If you agree, you can simply add a comment to this PR that you agree with the CLA so that we can merge.

beep boop - the Weaviate bot 👋🤖

PS:
Are you already a member of the Weaviate Slack channel?

Signed-off-by: Kaviraj <[email protected]>
@jfrancoa
Copy link
Collaborator

I've started a cluster with the queier which was supposed to have a single node and it started 3 replicas for the querier, you will have to override the experimental.querier.replicas values in local-k8s.sh so that both match:

kubectl get pods -n weaviate
NAME                             READY   STATUS      RESTARTS   AGE
contextionary-54866b8588-44n5n   1/1     Running     0          13m
minio                            1/1     Running     0          14m
minio-mc                         0/1     Completed   0          9m2s
querier-768f9859-9sg8m           1/1     Running     0          13m
querier-768f9859-l256f           1/1     Running     0          13m
querier-768f9859-lf7jx           1/1     Running     0          13m
weaviate-0                       1/1     Running     0          13m

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

Successfully merging this pull request may close these issues.

5 participants