-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENH]: add config map based config file for rust worker (#2110)
## Description of changes *Summarize the changes made by this PR.* - Improvements & Bug fixes - add config map based config file for rust worker
- Loading branch information
1 parent
64f96df
commit 7c4af16
Showing
4 changed files
with
95 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Default configuration for query and compaction service | ||
# In the long term, every service should have an entry in this file | ||
# and this can become the global configuration file for Chroma | ||
# for now we nest it in the worker directory | ||
|
||
query_service: | ||
my_ip: "10.244.0.9" | ||
my_port: 50051 | ||
assignment_policy: | ||
RendezvousHashing: | ||
hasher: Murmur3 | ||
memberlist_provider: | ||
CustomResource: | ||
kube_namespace: "chroma" | ||
memberlist_name: "query-service-memberlist" | ||
queue_size: 100 | ||
sysdb: | ||
Grpc: | ||
host: "sysdb.chroma" | ||
port: 50051 | ||
storage: | ||
S3: | ||
bucket: "chroma-storage" | ||
credentials: "Minio" | ||
log: | ||
Grpc: | ||
host: "logservice.chroma" | ||
port: 50051 | ||
dispatcher: | ||
num_worker_threads: 4 | ||
dispatcher_queue_size: 100 | ||
worker_queue_size: 100 | ||
|
||
compaction_service: | ||
my_ip: "10.244.0.9" | ||
my_port: 50051 | ||
assignment_policy: | ||
RendezvousHashing: | ||
hasher: Murmur3 | ||
memberlist_provider: | ||
CustomResource: | ||
kube_namespace: "chroma" | ||
memberlist_name: "compaction-service-memberlist" | ||
queue_size: 100 | ||
sysdb: | ||
Grpc: | ||
host: "sysdb.chroma" | ||
port: 50051 | ||
storage: | ||
S3: | ||
bucket: "chroma-storage" | ||
credentials: "Minio" | ||
log: | ||
Grpc: | ||
host: "logservice.chroma" | ||
port: 50051 | ||
dispatcher: | ||
num_worker_threads: 4 | ||
dispatcher_queue_size: 100 | ||
worker_queue_size: 100 | ||
compactor: | ||
compaction_manager_queue_size: 1000 | ||
max_concurrent_jobs: 100 | ||
compaction_interval_sec: 60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters