Recipe
ferretdb
A MongoDB-wire-compatible document-database proxy on Kubernetes via the helm provider's Workload synthesis. The proxy process holds no local state, so it renders a stateless Deployment plus a ClusterIP Service on the wire port. The PostgreSQL backend identity resolved from the `backend` uses-edge (host, port, user, database) arrives on .context.inject.env and is composed into the proxy's PostgreSQL connection URL; the URL is rendered password-free and the password is supplied separately on the standard libpq PGPASSWORD environment variable, which the driver merges into the connection. provides.host is the bare, self-contained in-cluster service name of the synthesized Service — it carries no namespace, so the recipe is independent of where it is deployed. A consumer in another namespace qualifies the host with the target namespace on its own side (caller-side routing). FerretDB's debug listener, port 8088, checks no caller and serves /debug/pprof, /debug/vars, /debug/archive and /debug/graphs beside its metrics at /debug/metrics. While `values.metrics_enabled` is false the Recipe binds it to the pod's loopback address, which no other pod reaches, and provides.metrics_endpoint is empty. True, it binds it on every interface of the pod, its port joins the ClusterIP Service, and provides.metrics_endpoint publishes its /debug/metrics there, so every in-cluster caller that reaches the pod reaches the whole listener. Neither probe uses it: readiness runs `ferretdb ping` inside the container, and liveness checks that the wire port accepts connections.
Nguồn gốc
- Digest nội dung
- sha256:5978134fd7fb6706012aaad35346fb64785cd34d3cefd7e1bca4b5ebe58ecba0
- Đã xuất bản
- 2026-11-10T10:23:33Z
- Danh tính ký
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Chữ ký
- Chính thứcapplication/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:169d627e0f0d55d7884733705ab4ac5b2bd052b06081f101a7c544b27b25b212
Tham chiếu ở phiên bản này
oci://hub.aggrega.ai/recipe/helm/ferretdb:1.0.0- Đích
- —
- Triển khai
- core/datastore/ferretdb:1.0.0
Cung cấp
Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.
| Tên | Mẫu |
|---|---|
| host | {{ .context.rendered_name }}-default |
| port | {{ .infra.port }} |
| protocol | mongodb |
| metrics_endpoint | {{ if .values.metrics_enabled }}http://{{ .context.rendered_name }}-default:8088/debug/metrics{{ end }} |
Workload
Workload · replicas: 1 · containers: main
Giá trị cục bộ
Chưa khai báo giá trị cục bộ nào.
Ánh xạ values
Chưa khai báo ánh xạ values nào.
Quan hệ
Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.
Sử dụng
- triển khaitriển khaihợp đồng tương thích
core/datastore/ferretdb:1.0.0
Tất cả đầu ra bắt buộc đều được đáp ứng và mọi đầu ra được cung cấp đều được nêu tên trong hợp đồng.
Được sử dụng bởi
Không có gì trong danh mục phụ thuộc vào thực thể này.