time=2026-04-16T18:44:22.462Z level=INFO source=github.com/kubearchive/kubearchive/cmd/api/main.go:116 msg="Starting KubeArchive API" version=v1.21.3 commit=226bfb8797e3716d554f0b3f779cfa030e89b7f8 built=2026-03-27T15:54:19Z time=2026-04-16T18:44:22.462Z level=INFO source=github.com/kubearchive/kubearchive/cmd/api/main.go:123 msg="Establishing database connection for API server" time=2026-04-16T18:44:22.462Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/database.go:49 msg="Initializing database connection" time=2026-04-16T18:44:22.462Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/database.go:59 msg="Database environment configured" database_type=postgresql host=postgresql.product-kubearchive.svc.cluster.local port=5432 database_name=kubearchive user=kubearchive time=2026-04-16T18:44:22.462Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/database.go:68 msg="Initializing registered database" type=postgresql time=2026-04-16T18:44:22.462Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/sql/connection.go:19 msg="Establishing database connection" time=2026-04-16T18:44:22.483Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/sql/connection.go:47 msg="Successfully connected to the database" time=2026-04-16T18:44:22.483Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/sql/connection.go:51 msg="Database connection information" driver=postgres host=postgresql.product-kubearchive.svc.cluster.local port=5432 database=kubearchive user=kubearchive ssl_mode=require time=2026-04-16T18:44:22.483Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/database.go:78 msg="Database initialized successfully" time=2026-04-16T18:44:22.483Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/database.go:88 msg="Verifying database schema version" time=2026-04-16T18:44:22.484Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/database.go:115 msg="Database schema version check" min_version=10 max_version=13 actual_version=13 time=2026-04-16T18:44:22.484Z level=INFO source=github.com/kubearchive/kubearchive/pkg/database/database.go:131 msg="Database connection fully established" type=postgresql schema_version=13 status=ready time=2026-04-16T18:44:22.484Z level=INFO source=github.com/kubearchive/kubearchive/cmd/api/main.go:132 msg="Database connection established successfully" component=api_server time=2026-04-16T18:44:27.467Z level=INFO msg="traces export: Post \"http://otel-collector:4318/v1/traces\": dial tcp 172.30.255.90:4318: connect: connection refused" time=2026-04-16T19:26:20.185Z level=ERROR source=github.com/kubearchive/kubearchive/pkg/abort/abort.go:13 msg="there was a problem" error="driver: bad connection" code=503 trace-id=158d51603b2da5f79dbe492764c51635 span-id=8112f55a1e9b9471 time=2026-04-16T19:26:30.212Z level=ERROR source=github.com/kubearchive/kubearchive/pkg/abort/abort.go:13 msg="there was a problem" error="dial tcp 172.30.238.69:5432: connect: connection refused" code=503 trace-id=01a7917262eb4079cb44c9a829f7b1a9 span-id=6fcbb0f59dcb68bd