castai-db-agent
by Cast AI
Helm chartv0.29.0Verified publisher
CAST AI DB agent deployment.
About this chart
castai-db-agent
CAST AI DB agent deployment.
Values
| Key | Type | Default | Description |
|---|---|---|---|
| apiKey | string | "" | Token to be used for authorizing access to the CAST AI API. |
| apiURL | string | "" | URL to the CAST AI API endpoint. |
| cloudSqlProxy.autoIamAuthn | bool | true | Have the proxy connect with Automatic IAM authentication |
| cloudSqlProxy.enabled | bool | false | Enable Cloud SQL Proxy sidecar for GCP Cloud SQL connections |
| cloudSqlProxy.port | int | 5432 | Port on which Cloud SQL Proxy will listen |
| cloudSqlProxy.privateIp | bool | false | Have the proxy connect over private IP if connecting from a VPC-native GKE cluster |
| cloudSqlProxyImage.pullPolicy | string | "IfNotPresent" | |
| cloudSqlProxyImage.repository | string | "gcr.io/cloud-sql-connectors/cloud-sql-proxy" | |
| cloudSqlProxyImage.tag | string | "" | |
| collectors.excludedDatabases | string | "" | Comma-separated list of databases to exclude from database auto-discovery (optional) |
| collectors.excludedSchemas | string | "" | Comma-separated list of schemas to exclude from collection (optional) |
| collectors.indexes.runsEvery | string | "15m" | Frequency in which existing indexes are collected |
| collectors.instanceConfigs.runsEvery | string | "15m" | Frequency in which instance settings are collected |
| collectors.metadata.runsEvery | string | "15m" | Frequency in which table metadata is collected |
| collectors.queries.runsEvery | string | "15m" | Frequency in which query statistics are collected |
| database.autoDiscoveryDatabase | string | "postgres" | Database name to use for connecting to database instance for auto-discovering logical databases. This is only required for Postgres |
| database.credentialsSecretRef | string | "" | Name of secret with database credentials (username and password). Not required when using useCloudSQLIAMAuth or useRDSIAMAuth with inline username. |
| database.host | string | "" | |
| database.password | string | "" | Password for database authentication (not required when useCloudSQLIAMAuth or useRDSIAMAuth is true) |
| database.port | int | 5432 | |
| database.protocol | string | "postgres" | Database protocol to use. Supported values: postgres, mysql. |
| database.sslMode | string | "require" | SSL mode for database connection (Postgres only). Forced to "disable" when cloudSqlProxy is enabled. |
| database.useCloudSQLIAMAuth | bool | false | Enable IAM authentication for database connection (GCP Cloud SQL IAM). Requires Workload Identity setup. See IAM_AUTH_SETUP.md for details. |
| database.useRDSIAMAuth | bool | false | Enable IAM authentication for database connection (AWS RDS IAM). Requires IAM role with rds-db:connect permission. |
| database.username | string | "" | Username for database authentication. For IAM auth, use the format: "[email protected]" |
| databaseInstanceID | string | "" | |
| gRPCEndpoint | string | "" | URL to the CAST AI API gRPC endpoint. |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "ghcr.io/castai/images/db-agent" | |
| image.tag | string | "" | |
| logLevel | string | "info" | |
| organizationID | string | "" | |
| serviceAccount.annotations | object | {} | Annotations to add to the service account (e.g. for AWS IRSA: eks.amazonaws.com/role-arn: ) |
| serviceAccount.create | bool | false | Specifies whether a service account should be created |
| serviceAccount.name | string | "" | The name of the service account to use. If not set and create is true, the chart name is used. If not set and create is false, "default" is used. |
Autogenerated from chart metadata using helm-docs v1.11.0
Deploy castai-db-agent with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has castai-db-agent 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-db-agent is pinned at v0.29.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