castai-dbo
by Cast AI
Helm chartv0.26.0Verified publisher
Umbrella chart for CAST AI Database Optimizer components.
About this chart
castai-dbo
0.26.0
Umbrella chart for CAST AI Database Optimizer components.
Maintainers
| Name | Url | |
|---|---|---|
| CAST AI | https://cast.ai |
Requirements
| Repository | Name | Version |
|---|---|---|
| https://castai.github.io/helm-charts | db-agent(castai-db-agent) | 0.29.0 |
| https://castai.github.io/helm-charts | db-optimizer(castai-db-optimizer) | 0.80.2 |
| https://castai.github.io/helm-charts | db-proxy(castai-db-proxy) | 0.38.0 |
Usage
helm repo add castai-helm https://castai.github.io/helm-charts
helm repo update
helm upgrade --install castai-dbo castai-helm/castai-dbo \
--namespace castai-agent --create-namespace \
-f values.yaml
See below for the required values for each component.
Note:
db-proxyanddb-optimizerare mutually exclusive — enable only one of them.
Example: db-optimizer + db-agent
db-optimizer:
enabled: true
apiKey: "<API_KEY>"
organizationID: "<ORG_ID>"
cacheGroupID: "<CACHE_GROUP_ID>"
protocol: "PostgreSQL"
endpoints:
- name: "primary"
hostname: "<DB_HOST>"
port: 5433
targetPort: 5432
servicePort: 5433
db-agent:
enabled: true
apiKey: "<API_KEY>"
organizationID: "<ORG_ID>"
cacheGroupID: "<CACHE_GROUP_ID>"
database:
host: "<DB_HOST>"
username: "<DB_USER>"
password: "<DB_PASSWORD>"
Example: db-proxy + db-agent
db-proxy:
enabled: true
apiKey: "<API_KEY>"
organizationID: "<ORG_ID>"
proxyID: "<PROXY_ID>"
endpoints:
- address: "<DB_HOST>:<DB_PORT>"
readonly: false
db-agent:
enabled: true
apiKey: "<API_KEY>"
organizationID: "<ORG_ID>"
cacheGroupID: "<CACHE_GROUP_ID>"
database:
host: "<DB_HOST>"
username: "<DB_USER>"
password: "<DB_PASSWORD>"
Values
| Key | Type | Default | Description |
|---|---|---|---|
| db-agent.enabled | bool | false | |
| db-optimizer.enabled | bool | false | |
| db-proxy.enabled | bool | false |
Deploy castai-dbo with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has castai-dbo on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcastai-dbo is pinned at v0.26.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply