Component
core/datastore/ferretdb
A document-database proxy that speaks the MongoDB wire protocol and stores data in a PostgreSQL backend with the DocumentDB extension. It is typed as a stateful server because the endpoint it presents to consumers is a durable document database: standard database consumers bind it through their database socket exactly as they would a native datastore. The proxy process itself holds no local state — its Recipe renders a stateless workload — but the service contract it exposes is a database, so the type label reflects the consumer-facing contract rather than the internal workload form. It fronts a PostgreSQL/DocumentDB backend wired through its `backend` uses-socket: the backend host, port, user, and database arrive on the injection context and are composed into the proxy's PostgreSQL connection. Exports its host, port, and protocol to consumers via the uses topology. With `values.metrics_enabled` true each Recipe makes FerretDB's own metrics, served at /debug/metrics on its debug listener, port 8088, reachable and publishes that address as `metrics_endpoint`; false, that key is empty. That listener checks no caller and also serves /debug/pprof, with CPU profiles and execution traces on request, /debug/vars, /debug/archive and /debug/graphs. On Kubernetes the value moves it from the pod's loopback address onto every interface of the pod and names its port on the Service, newly opening it to every in-cluster caller that reaches the pod; on Docker Compose the value newly opens it to every peer on the network.
出處
- 內容摘要
- sha256:bd3375d60235bfff68b81e6f6bdf789dcfe3a506cf77a03a80c3aba13c12cbbf
- 發布時間
- 2026-11-10T10:10:42Z
- 簽署身分
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
簽章
- 官方application/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:1fb1023e5afe692195099eabce8cb8fb76855155007b04488ae50867baf42322
此版本的參照
oci://hub.aggrega.ai/component/core/datastore/ferretdb:1.0.0開發者參數
開發者在 Aggregate 中設定的值。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| metrics_enabled | boolean | false | 否 | Makes FerretDB's own metrics, in the Prometheus format at /debug/metrics on port 8088, reachable and publishes their address as `metrics_endpoint`; while false that key is empty. The port checks no caller and also serves /debug/pprof (CPU profiles and execution traces on request), /debug/vars, /debug/archive and /debug/graphs. On Kubernetes the value moves the listener from the pod's loopback address onto every interface and names its port on the Service, newly opening it to every in-cluster caller that reaches the pod; on Docker Compose the value newly opens it to every peer on the network. |
操作員資源規格
操作員依各環境調整的基礎架構資源規格。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| port | integer (min 1024, max 65535) | 27017 | 否 | Document-database wire port the proxy listens on. Most operators should omit this and let the Recipe assign the default (27017). |
| engine_version | string | 2.7.0 | 否 | Proxy container image tag. |
| compute | object | — | 否 | — |
| overrides | object (open) | — | 否 | Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads. |
輸出契約
此元件透過 uses 拓撲向使用端發布的值。
| 名稱 | 型別 | 預設 | 必填 | 描述 |
|---|---|---|---|---|
| host | string | — | 是 | Address a client opens its document-database connection to. On the in-cluster realizations it is the Service's DNS name. |
| port | integer | — | 是 | TCP port the proxy accepts connections on. It follows the port an operator set in the Release, so a consumer reads it rather than assuming a default. |
| protocol | string | — | 否 | Wire protocol the published address speaks — `mongodb`, so a consumer uses a MongoDB driver and never has to know a PostgreSQL backend is behind it. |
| metrics_endpoint | string | — | 否 | The full address Prometheus scrapes this component's metrics at — scheme, host, port and path, `http://<host>:8088/debug/metrics`, the host being the proxy's Service name. Empty while values.metrics_enabled is false. |
Uses 插槽
此元件用來連線的相依插槽。經由插槽連接的每個連線,其目標都必須符合該插槽的標籤選擇器,且每個連線可在該插槽宣告的槽位中帶有附加項目。Aggregate 或 Release 經由該插槽連接的每個連線,都必須提供必填槽位。
backend
- 選擇器
- component.aggrega.ai/type=stateful-server
- 注入
- env
經由此插槽的每個連線可填入的槽位
| 槽位 | 選擇器 | 必填 | 注入 | 敏感 | 描述 |
|---|---|---|---|---|---|
| credential | feature.aggrega.ai/kind=secret | 否 | env | 是 | Optional password the proxy presents to the backend this connection reaches, shared with that backend. When attached, supplies the backend password via the credential subsystem. Unattached, compose/ferretdb and helm/ferretdb present the development literal `apppass`, which this catalog publishes, so every Release that leaves the slot unattached shares that password. |
附加槽位
Feature 附加到此元件的具名繫結點。槽位的選擇器限制哪個 Feature 可以填入該槽位,其注入清單則指明該 Feature 的內容可以如何傳遞。必填槽位必須在每個實例上繫結,方式是在該實例上或其上層範圍中附加項目;敏感槽位則宣告用於處理機密內容。Feature 也可以附加在沒有任何槽位宣告的名稱之下。
未宣告任何附加槽位。
自我注入允許清單
env
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
- 使用使用插槽「backend」
component.aggrega.ai/type=stateful-server
附加槽位:credential
core/ai-agent/dify-plugin-daemon v1.0.0 core/ai-tool/filesystem v1.0.0 core/datastore/chroma v1.0.0 core/datastore/cognee v1.0.0 core/datastore/documentdb v1.0.0 core/datastore/elasticsearch v1.0.0 core/datastore/etcd v1.0.0 core/datastore/mariadb v1.0.0 core/datastore/milvus v1.0.0 core/datastore/mysql v1.0.0 core/datastore/mysql-innodb-cluster v1.0.0 core/datastore/opensearch v1.0.0 core/datastore/pgvector v1.0.0 core/datastore/postgres v1.0.0 core/datastore/qdrant v1.0.0 core/datastore/timescaledb v1.0.0 core/datastore/weaviate v1.0.0 core/devtool/harbor v1.0.0 core/messaging/kafka v1.0.0 core/messaging/rabbitmq v1.0.0 core/observability/fluentd v1.0.0 core/observability/jaeger v1.0.0 core/observability/loki v1.0.0 core/observability/prometheus v1.0.0 core/observability/tempo v1.0.0 core/security/openbao v1.0.0
被使用於
使用插槽「backend」
使用插槽「cache」
使用插槽「queue」
使用插槽「backend」
使用插槽「cache」
使用插槽「queue」
使用插槽「backend」
使用插槽「backend」
使用插槽「cache」
使用插槽「queue」
使用插槽「backend」
使用插槽「cache」
使用插槽「queue」
使用插槽「backend」
使用插槽「cache」
使用插槽「queue」
使用插槽「backend」
使用插槽「cache」
使用插槽「backend」
使用插槽「cache」
使用插槽「backend」
使用插槽「cache」
使用插槽「backend」
使用插槽「cache」
使用插槽「backend」
使用插槽「cache」
使用插槽「backend」
使用插槽「cache」
使用插槽「backend」
使用插槽「cache」
使用插槽「state_store」
使用插槽「checkpointer_db」
使用插槽「checkpointer_db」
使用插槽「backend」
使用插槽「backend」
使用插槽「backend」
使用插槽「storage」
使用插槽「metadata_store」
使用插槽「target_datastore」
使用插槽「databases」
使用插槽「etcd」
使用插槽「backend」
使用插槽「backend」
使用插槽「cache」
使用插槽「state_store」
使用插槽「forward_target」
使用插槽「backend」
使用插槽「cache」
使用插槽「chunk_cache」
使用插槽「scrape_target」
使用插槽「backend」
使用插槽「backend」
使用插槽「database」
適用於
適用於
適用於
實作
實作