-
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] Refactor k8s manifests for configurability (#1808)
## Description of changes *Summarize the changes made by this PR.* - Improvements & Bug fixes - Refactor k8s charts to make everything more configurable, especially in ways we need for Hosted. - Put correct deps into Tiltfile so the cluster comes up happily. ## Test plan *How are these changes tested?* - [ ] Tests pass locally with `pytest` for python, `yarn test` for js ## Documentation Changes *Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the [docs repository](https://github.com/chroma-core/docs)?*
- Loading branch information
Showing
8 changed files
with
92 additions
and
29 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
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
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
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 |
---|---|---|
@@ -1,6 +1,49 @@ | ||
# Default values for distributed-chroma. | ||
# Strongly prefer single quotes. | ||
|
||
namespace: "chroma" | ||
namespace: 'chroma' | ||
|
||
frontend: | ||
image: 'server' | ||
|
||
# Sometimes users (and us) want to pass values directly as flags. Sometimes, these are | ||
# populated from secrets or configMaps. So we let consumers fill these directly. | ||
# TODO we could maybe have mutually exclusive pieces of config, e.g. isPersistentValue | ||
# and isPersistentFromConfigMap or something. | ||
isPersistent: 'value: "TRUE"' | ||
producerImpl: 'value: "chromadb.logservice.logservice.LogService"' | ||
consumerImpl: 'value: "chromadb.logservice.logservice.LogService"' | ||
segmentManagerImpl: 'value: "chromadb.segment.impl.manager.distributed.DistributedSegmentManager"' | ||
pulsarBrokerUrl: 'value: "pulsar.chroma"' | ||
pulsarBrokerPort: 'value: "6650"' | ||
pulsarAdminPort: 'value: "8080"' | ||
allowReset: 'value: "TRUE"' | ||
sysdbImpl: 'value: "chromadb.db.impl.grpc.client.GrpcSysDB"' | ||
serverGrpcPort: 'value: "50051"' | ||
coordinatorHost: 'value: "coordinator.chroma"' | ||
authProvider: 'value: ""' | ||
authCredentialsProvider: 'value: ""' | ||
authzProvider: 'value: ""' | ||
authzConfigProvider: 'value: ""' | ||
memberlistProviderImpl: 'value: "chromadb.segment.impl.distributed.segment_directory.MockMemberlistProvider"' | ||
logServiceHost: 'value: "logservice.chroma"' | ||
logServicePort: 'value: "50051"' | ||
otherEnvConfig: '' | ||
|
||
coordinator: | ||
image: 'coordinator' | ||
replicaCount: 1 | ||
env: | ||
flags: | ||
pulsar-admin-url: "http://pulsar.chroma:8080" | ||
pulsar-url: "pulsar://pulsar.chroma:6650" | ||
notifier-provider: "pulsar" | ||
|
||
logService: | ||
image: 'coordinator' | ||
|
||
worker: | ||
image: 'worker' | ||
|
||
sysdbMigration: | ||
image: 'migration' |
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