You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove SQLite and deploy Postgres by default (#1503)
## Summary
Removes SQLite as a supported database backend and makes PostgreSQL the
only supported option. Bundles a PostgreSQL instance (with pgvector) in
the Helm chart so that `helm install` works out of the box with no
external prerequisites.
Closes: #1502
## Changes
### Helm
- Bundle PostgreSQL in `helm/kagent/templates/postgresql.yaml` —
deployed when `database.postgres.url` and `database.postgres.urlFile`
are both empty (the default)
- Set `database.postgres.url` to skip the bundled instance and use an
external PostgreSQL
- Remove `database.type`, `database.sqlite`, SQLite emptyDir volume, and
`XDG_CACHE_HOME` from the controller deployment
### CI
- Remove `strategy.matrix: database: [sqlite, postgres]` from `test-e2e`
— single database, no matrix needed
- Remove separate Postgres service container — postgres is deployed
inside the Kind cluster by `make helm-install`
## Helm values
```yaml
database:
postgres:
# Leave empty to deploy the bundled postgres. Set to use external PostgreSQL.
url: ""
urlFile: ""
vectorEnabled: true
bundled:
image: pgvector/pgvector:pg18-trixie
storage: 500Mi
database: postgres
user: postgres
password: kagent
```
## Test plan
- [x] Go unit tests pass (`go test -race -skip 'TestE2E.*' ./...`)
- [x] Helm unit tests pass (`helm unittest helm/kagent`)
- [x] `TestE2EMemoryWithAgent` passes — confirms pgvector and memory
table work end-to-end
- [x] Full E2E suite passes (`make helm-install push-test-agent
push-test-skill` followed by e2e tests via `go test -v
github.com/kagent-dev/kagent/go/core/test/e2e -failfast -shuffle=on`)
---------
Signed-off-by: Jeremy Alvis <jeremy.alvis@solo.io>
| Istio | Service mesh (demo profile) |`istio-system`|
105
+
| Grafana | Dashboards and visualization |`kagent`|
106
+
| Prometheus | Metrics collection |`kagent`|
107
+
| Metrics Server | Kubernetes resource metrics |`kube-system`|
122
108
123
-
Verify the connection by checking the controller logs:
109
+
PostgreSQL (with pgvector) is deployed automatically as part of `make helm-install` via the bundled Helm chart. The optional addons above provide observability components.
110
+
111
+
Verify the database connection by checking the controller logs:
0 commit comments