本页面为机器翻译。阅读英文原文。

Component

core/datastore/elasticsearch

An Elasticsearch search and analytics engine. Indexes documents for full-text and analytical queries and indexes embedding vectors beside them in dense-vector fields, answering similarity searches, so a component that retrieves by similarity can be wired here. Indexes are created through Elasticsearch's own API at runtime; the component declares the server, not its contents. It runs as one node. Exports its host, port, protocol, an endpoint joining them and the account a client signs in as. Authentication stays on with the built-in superuser, elastic: its password is the attached credential, which the Kubernetes Recipe reads from its Secret by reference, and with none attached it is a development default that attaching one replaces. The server's own first-start setup, which generates certificates and prints a password, is switched off. The API is served over plain HTTP, not encrypted, and is reachable only inside the Release. Elastic publishes the image under the Elastic License 2.0. Realized on Kubernetes by a Recipe that synthesizes the server from that image, and by a Compose Recipe for local development; the host's vm.max_map_count kernel setting is the operator's to raise. Its Recipes are verified by their rendered output, not by a started server.

来源

官方由本目录认定为官方发布者的签名身份签名。
内容摘要
sha256:f5c926ccb6e34bf8c84f40038ee895adf6a16231dde9bfeb9e6624b3a53fd709
发布时间
2026-11-10T10:10:34Z
签名身份
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:85339df7b303229c45648b6fd09dbb379a8aa38ace8c8078480d7da8548bf0f8

此版本的引用

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

开发者参数

开发者在 Aggregate 中设置的值。

未声明开发者参数。

运维规格

运维人员按环境调整的基础设施规格。

名称类型默认值必需描述
portinteger (min 1024, max 65535)9200否Port the server's REST API is published on. Most operators should omit this and let the Recipe assign the default (9200). The server listens on it on both targets; on Kubernetes it is also the Service port. It must differ from 9300 and 8080, which the server already listens on; the build halts otherwise.
engine_versionstring9.5.5@sha256:13b4a40bb095774f5fda635e45fd5677cc6a26565e42b24997b0c72b88e75984否Tag of the docker.elastic.co/elasticsearch/elasticsearch image every Recipe runs, optionally followed by @ and the digest it must resolve to. The Recipes configure the server through the settings of the 9.x releases; another release may need other ones.
computeobject—否—
storageobject—否—
overridesobject (open)—否Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

输出契约

此组件通过 uses 拓扑向使用方发布的值。

名称类型默认值必需描述
hoststring—是Address a client connects to. On Kubernetes it is the Service's DNS name, and on Compose the service name.
portinteger—是TCP port the server's REST API answers on. It follows the port an operator set in the Release, so a consumer reads it rather than assuming 9200.
userstring—否Name of the account a client signs in as — `elastic`, the server's built-in superuser. The matching password arrives through the credential attached to the component, never through this contract.
protocolstring—否Scheme a client composes the server's address with — `http`, as in http://<host>:<port>; the REST API is served over HTTP.
endpointstring—否The server's address as one URI, http://<host>:<port>, for a client that takes one address rather than its parts. It carries no credential.

uses 套接字

此组件用于建立连接的依赖套接字。通过某个套接字接入的每个连接,其目标都必须满足该套接字的标签选择器,且每个连接都可以在该套接字声明的槽位中携带附加项。必需槽位须由 Aggregate 或 Release 通过该套接字接入的每个连接来填充。

未声明 uses 套接字。

附加槽位

Feature 附加到此组件时所用的命名绑定点。槽位的选择器限定哪个 Feature 可以填充该槽位,其 inject 列表则指明 Feature 的内容可以如何交付。必需槽位必须在每个实例上完成绑定,可以通过实例上的附加,也可以通过其上层作用域的附加;敏感槽位则声明为用于处理机密内容。Feature 也可以以任何槽位都未声明的名称进行附加。

槽位选择器必需注入敏感描述
passwordfeature.aggrega.ai/kind=secret否env是Optional password of the server's built-in superuser, elastic. When attached, the Kubernetes Recipe reads it from the credential's Secret by reference and the Compose Recipe writes the value the credential delivers; unattached, compose/elasticsearch and helm/elasticsearch set it to the development literal `apppass`, which this catalog publishes, so every Release that leaves the slot unattached shares that password, and attaching a credential replaces it.

自注入允许列表

env

关系

与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。

使用

此实体未使用目录中的任何内容。

被使用

Component 概念参考 →

Aggrega 目录 — 收录组件、功能、配方以及渲染它们的插件的开放索引。

基于共享的 Aggrega 设计系统构建。

隐私