-
Notifications
You must be signed in to change notification settings - Fork 4
Data plane 2.0.0 Prerequisites #64
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
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
3f18d2f
update env vars
jeffmccollum 097ce31
update tests
jeffmccollum e4f0065
update readme on v4 of helm
jeffmccollum 88216c4
update default sizing
jeffmccollum 8c9b011
add gke standard values example
jeffmccollum aa6706e
spelling
jeffmccollum a382fa6
update values
jeffmccollum 8f5070a
remove REDIS_EPHEMERAL_WAL_URL add BRAINSTORE_REALTIME_WAL_BUCKET_NAME
jeffmccollum 8401e6c
remove BRAINSTORE_REALTIME_WAL_BUCKET_NAME
jeffmccollum File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,144 @@ | ||
| # Sample values for GKE Standard deployment | ||
| # | ||
| # GKE Standard requires manual node pool configuration: | ||
| # - Create a dedicated node pool with local NVMe SSDs for Brainstore workloads | ||
| # - Recommended machine types: c4-standard-32 or higher with local SSDs | ||
| # - Configure local SSDs: Use 4x375GB local SSDs (1500GB total) or more | ||
| # - Total local SSD capacity should exceed the volume.size configured below | ||
|
|
||
| # Global configs | ||
| global: | ||
| orgName: "<your Braintrust org name>" | ||
| namespace: "braintrust" | ||
|
|
||
| # Cloud provider configuration | ||
| cloud: "google" | ||
|
|
||
| # Google Cloud specific configuration for Standard | ||
| google: | ||
| mode: "standard" | ||
|
|
||
| objectStorage: | ||
| google: | ||
| brainstoreBucket: "<your brainstore bucket name>" | ||
| apiBucket: "<your api bucket name>" | ||
|
|
||
| api: | ||
| name: "braintrust-api" | ||
| annotations: | ||
| service: | ||
| networking.gke.io/load-balancer-type: "Internal" | ||
| replicas: 4 | ||
| # Uncomment the following section to use a different image or tag from the version in the Helm release | ||
| #image: | ||
| #repository: public.ecr.aws/braintrust/standalone-api | ||
| #tag: "<your image tag>" | ||
| service: | ||
| type: LoadBalancer | ||
| port: 8000 | ||
| portName: http | ||
| serviceAccount: | ||
| name: "braintrust-api" | ||
| googleServiceAccount: "<your Braintrust API Google service account>" | ||
| # this is for native GCS authentication via workload identity (defaults to false for S3-compatible access) Requires v1.1.31 or later of the dataplane to be set to true. | ||
| enableGcsAuth: false | ||
| nodeSelector: | ||
| cloud.google.com/gke-nodepool: "api" | ||
| resources: | ||
| requests: | ||
| cpu: "4" | ||
| memory: "4Gi" | ||
| limits: | ||
| cpu: "4" | ||
| memory: "8Gi" | ||
| extraEnvVars: | ||
| # For S3-compatible GCS Storage, set the AWS_REGION environment variable to the region of your GCS bucket | ||
| - name: AWS_REGION | ||
| value: "us-central1" | ||
|
|
||
| # Brainstore configuration (split into reader and writer) | ||
| brainstore: | ||
| serviceAccount: | ||
| name: "brainstore" | ||
| googleServiceAccount: "<your Braintrust Brainstore Google service account>" | ||
| # Uncomment the following section to use a different image or tag from the version in the Helm release | ||
| #image: | ||
| #repository: public.ecr.aws/braintrust/brainstore | ||
| #tag: "<your image tag>" | ||
| # New deployments should use objectStorage as the locks backend. Existing deployments should remain on redis at this time. | ||
| locksBackend: "objectStorage" | ||
|
|
||
| # Brainstore Reader configuration | ||
| reader: | ||
| name: "brainstore-reader" | ||
| replicas: 2 | ||
| service: | ||
| name: "" | ||
| type: ClusterIP | ||
| port: 4000 | ||
| portName: http | ||
| nodeSelector: | ||
| cloud.google.com/gke-nodepool: "brainstore" # Target your node pool | ||
| resources: | ||
| requests: | ||
| cpu: "16" | ||
| memory: "32Gi" | ||
| limits: | ||
| cpu: "16" | ||
| memory: "32Gi" | ||
| affinity: # Prevent readers and writers from sharing nodes | ||
| podAntiAffinity: | ||
| requiredDuringSchedulingIgnoredDuringExecution: | ||
| - labelSelector: | ||
| matchExpressions: | ||
| - key: app | ||
| operator: In | ||
| values: | ||
| - brainstore-reader | ||
| - brainstore-writer | ||
| topologyKey: kubernetes.io/hostname | ||
| cacheDir: "/mnt/tmp/brainstore" | ||
| objectStoreCacheMemoryLimit: "1Gi" | ||
| objectStoreCacheFileSize: "1000Gi" | ||
| verbose: true | ||
| volume: | ||
| size: "200Gi" | ||
| extraEnvVars: | ||
|
|
||
| # Brainstore Writer configuration | ||
| writer: | ||
| name: "brainstore-writer" | ||
| replicas: 1 | ||
| service: | ||
| name: "" | ||
| type: ClusterIP | ||
| port: 4000 | ||
| portName: http | ||
| nodeSelector: | ||
| cloud.google.com/gke-nodepool: "brainstore" | ||
| resources: | ||
| requests: | ||
| cpu: "32" | ||
| memory: "64Gi" | ||
| limits: | ||
| cpu: "32" | ||
| memory: "64Gi" | ||
| affinity: # Prevent readers and writers from sharing nodes | ||
| podAntiAffinity: | ||
| requiredDuringSchedulingIgnoredDuringExecution: | ||
| - labelSelector: | ||
| matchExpressions: | ||
| - key: app | ||
| operator: In | ||
| values: | ||
| - brainstore-reader | ||
| - brainstore-writer | ||
| topologyKey: kubernetes.io/hostname | ||
| cacheDir: "/mnt/tmp/brainstore" | ||
| objectStoreCacheMemoryLimit: "1Gi" | ||
| objectStoreCacheFileSize: "1000Gi" | ||
| verbose: true | ||
| volume: | ||
| size: "200Gi" | ||
| extraEnvVars: | ||
|
|
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.