Trang này được dịch bằng máy. Đọc bản gốc tiếng Anh.

Component

core/datastore/etcd

etcd, a distributed, strongly-consistent key-value store. This component runs a single-node etcd for development and lightweight coordination, holding its data on a persistent volume. It serves the v3 client API over HTTP with no authentication, suited to in-cluster consumers that need a simple consistent key-value store or configuration backend. Provider- agnostic: the same component is implemented by a Helm Recipe (synthesized manifests on Kubernetes) and a Compose Recipe (local development). Exports its host and client port to consumers via the uses topology. etcd serves its own metrics in the Prometheus format at /metrics on its client port, on by default, and every Recipe publishes that address as `metrics_endpoint`.

Nguồn gốc

Chính thứcĐược ký bởi một danh tính ký mà danh mục này công nhận là nhà phát hành chính thức.
Digest nội dung
sha256:51cfc70f66981b6278f11ca14b45c4c912aeb97b5866fcfb82b2b4649a5a4b3b
Đã xuất bản
2026-11-10T10:10:41Z
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:88b6b34aef79360e69c480a245d63d7cdb961295b03cd87069a700d79b5d5a8e

Tham chiếu ở phiên bản này

oci://hub.aggrega.ai/component/core/datastore/etcd:1.0.0

Tham số của nhà phát triển

Các giá trị mà nhà phát triển đặt trong Aggregate.

TênKiểuMặc địnhBắt buộcMô tả
namestringnode1khôngetcd member name (ETCD_NAME). Names the single node in the initial cluster.

Định cỡ của người vận hành

Định cỡ hạ tầng mà người vận hành tinh chỉnh theo từng môi trường.

TênKiểuMặc địnhBắt buộcMô tả
client_portinteger (min 1024, max 65535)2379khôngClient API port consumers connect to. Most operators should omit this and let the Recipe assign the default (2379).
peer_portinteger (min 1024, max 65535)2380khôngPeer port used for intra-cluster communication. Most operators should omit this and let the Recipe assign the default (2380).
engine_versionstringv3.5.32khôngetcd version (the etcd image tag).
computeobject—không—
storageobject—không—
auto_compaction_retentionstring1khôngAuto-compaction retention for the key-value history (ETCD_AUTO_COMPACTION_RETENTION). Defaults to 1 hour of history; without periodic compaction the backend grows unbounded and eventually trips the storage quota, after which etcd accepts only reads. Realized on the synthesized Helm and Compose targets.
quota_backend_bytesstring—khôngBackend storage quota in bytes (ETCD_QUOTA_BACKEND_BYTES). Omit to use the etcd default. When the backend database exceeds this size etcd raises a no-space alarm and accepts only reads until the history is compacted and the store defragmented. Realized on the synthesized Helm and Compose targets.
overridesobject (open)—khôngProvider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

Hợp đồng đầu ra

Các giá trị mà thành phần này xuất bản cho bên tiêu thụ qua cấu trúc liên kết uses.

TênKiểuMặc địnhBắt buộcMô tả
hoststring—cóIn-cluster DNS name of the Service fronting the client API. A consumer that watches or writes keys dials this name together with `port`.
portinteger—cóTCP port that Service accepts client API requests on. It carries the client port an operator set, never the peer port, which is for members talking to each other.
protocolstring—khôngHow the published address is spoken to — `http`, the scheme a client composes its endpoint list on.
metrics_endpointstring—khôngThe full address Prometheus scrapes this component's metrics at — scheme, host, port and path, `http://<host>:<port>/metrics` on the client port. Empty where the component serves none reachable.

Các socket uses

Các socket phụ thuộc mà thành phần này kết nối qua. Đích của mọi kết nối được nối qua một socket phải thỏa mãn bộ chọn nhãn của socket đó, và mỗi kết nối có thể mang theo phần đính kèm trong các slot mà socket khai báo. Một slot bắt buộc phải được đáp ứng bởi mỗi kết nối mà Aggregate hoặc Release nối qua socket.

Chưa khai báo socket uses nào.

Slot đính kèm

Các điểm liên kết có tên mà tại đó một Feature được gắn vào thành phần này. Bộ chọn của một slot giới hạn Feature nào có thể lấp đầy nó, và danh sách tiêm của slot nêu cách nội dung của Feature có thể được chuyển giao. Một slot bắt buộc phải được liên kết trên mọi thể hiện, bằng một phần đính kèm trên thể hiện đó hoặc ở một phạm vi phía trên nó, và một slot nhạy cảm được khai báo để xử lý nội dung bí mật. Một Feature cũng có thể được gắn dưới một tên mà không slot nào khai báo.

Chưa khai báo slot đính kèm nào.

Danh sách cho phép tự tiêm

env

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

Thực thể này không sử dụng gì trong danh mục.

Được sử dụng bởi

Tài liệu tham khảo khái niệm Component →

Danh mục Aggrega — chỉ mục mở gồm các thành phần, tính năng, công thức và các plugin kết xuất chúng.

Được xây dựng bằng hệ thống thiết kế dùng chung của Aggrega.

Quyền riêng tư