Component
core/datastore/valkey
A Valkey in-memory key-value cache, speaking the Redis wire protocol. Used as a cache, entries live in memory and are not durably persisted, so the component renders as a stateless workload rather than a stateful one and declares no storage. Realized on Kubernetes, on Compose for local development, on Amazon ElastiCache and on Google Cloud Memorystore for Valkey. Exports its host and port to consumers via the uses topology. On Kubernetes there are two realizations and the Manifest chooses between them. `valkey` synthesizes the cache as a workload and fetches nothing, so it is the one to reach for where the build must complete with no chart repository reachable. `valkey-chart` renders the community-maintained Valkey Helm chart, which hardens the container further, so reach for it where a chart repository is reachable at build time. Reach for terraform/valkey-elasticache, or cloudformation/valkey-elasticache in a CloudFormation stack, where the cache is an ElastiCache service in the operator's AWS account; each halts naming each value ElastiCache cannot apply. Reach for terraform/valkey-memorystore where it is a Memorystore instance in the operator's Google Cloud project, whose VPC network has a service connection policy for Memorystore; it runs without authentication. `infra.client_tls`, off by default, serves TLS alone and publishes `protocol` `valkey-tls`: on Kubernetes with the certificate attached to `server_certificate`, on ElastiCache with one AWS issues, on Memorystore with one from the instance's own authority, which consumers trust through `server_ca`. The Compose realization refuses it by name.
출처
- 콘텐츠 다이제스트
- sha256:627bb5b54ca1ad5133cd336470135b3603a2965b15f62119068aabe4a705bb07
- 게시일
- 2026-11-10T10:11:19Z
- 서명 ID
- 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:4867028e2f070a500d3f8f8e0b017f93b3c203b85738a9e55052969d350431c9
이 버전의 참조
oci://hub.aggrega.ai/component/core/datastore/valkey:1.0.0개발자 매개변수
개발자가 Aggregate에서 설정하는 값입니다.
| 이름 | 타입 | 기본값 | 필수 | 설명 |
|---|---|---|---|---|
| maxmemory | string | — | 아니요 | Maximum memory the cache may use before eviction (the maxmemory directive, e.g. 256mb). Omit for no cap. ElastiCache fixes it by the node type, so its realizations halt on it; Memorystore takes it as a configuration, except on the SHARED_CORE_NANO node type. |
| maxmemory_policy | string | — | 아니요 | Eviction policy applied when maxmemory is reached (the maxmemory-policy directive, e.g. allkeys-lru, volatile-ttl, noeviction). Omit to use the default. |
| databases | integer (min 1) | — | 아니요 | Number of logical databases (the databases directive). Omit to use the default (16). |
| appendonly | boolean | false | 아니요 | Enable append-only file (AOF) persistence. Pair with persistence.enabled for a durable volume; on an ephemeral cache the AOF is not retained across restarts. ElastiCache writes no AOF for Valkey, so its realizations halt on it set true; Memorystore keeps the data with AOF persistence. |
| persistence | object | — | 아니요 | — |
운영자 사이징
운영자가 환경별로 조정하는 인프라 사이징입니다.
| 이름 | 타입 | 기본값 | 필수 | 설명 |
|---|---|---|---|---|
| port | integer (min 1024, max 65535) | 6379 | 아니요 | Server listen port. Most operators should omit this and let the Recipe assign the default (6379). Memorystore serves 6379 alone, so terraform/valkey-memorystore halts on any other value. |
| client_tls | boolean | false | 아니요 | Serve client connections over TLS alone. Off by default, which serves plaintext and renders exactly as a cache without the setting. On, the server listens for TLS on `port` with no plaintext listener, presents the certificate attached to `server_certificate` (required while this is on), requests no client certificate, and the published `protocol` is `valkey-tls`. Served by the `valkey` and `valkey-chart` Kubernetes realizations; the Compose realization refuses it. On ElastiCache it turns on the service's in-transit encryption, whose certificate AWS issues and clients trust without a `server_ca`. On Memorystore it turns on the service's in-transit encryption with the instance's own certificate authority, which each consumer takes in its `server_ca` slot. |
| engine_version | string | 8.1-alpine | 아니요 | Valkey container image tag. Selects the image tag on container targets; the chart-backed realization pins its own image tag. The ElastiCache realizations read the major and minor version the value begins with (8.1 from 8.1-alpine) as the engine version, and halt on one ElastiCache does not offer, naming those it does. terraform/valkey-memorystore reads it the same way and takes 7.2, 8.0, 9.0 and 9.1, so the default halts there and the Release sets one of them. |
| source_version | string | — | 아니요 | Version of the Helm chart the chart-backed realization pulls. Read only by that realization; the workload-synthesis and Compose realizations pull no source artifact and ignore it, and the ElastiCache and Memorystore realizations ignore it too, the terraform ElastiCache one pinning the module it vendors at a version it writes out, the Memorystore one vendoring a module kept beside it and the CloudFormation one pulling nothing. Changing it away from the Recipe's default does not guarantee value-mapping compatibility with the new chart. |
| compute | object | — | 아니요 | — |
| storage | object | — | 아니요 | — |
| overrides | object (open) | — | 아니요 | Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads. |
출력 계약
이 컴포넌트가 uses 토폴로지를 통해 소비자에게 게시하는 값입니다.
| 이름 | 타입 | 기본값 | 필수 | 설명 |
|---|---|---|---|---|
| host | string | — | 예 | Address a consumer opens its cache connection to, together with `port`: the in-cluster DNS name of the Service fronting the cache on Kubernetes, and on ElastiCache or Memorystore a pointer string Terraform or CloudFormation resolves to the primary endpoint, or the DNS name the Release sets in infra.overrides.host instead, so a consumer on another target receives an address it can resolve. |
| port | integer | — | 예 | TCP port the cache accepts connections on. It follows the port an operator set in the Release, or the one port the service serves on Memorystore, so a consumer reads it rather than assuming 6379. |
| protocol | string | — | 아니요 | Wire protocol the published address speaks — `valkey`, naming the server on the other end, while `infra.client_tls` is off, and `valkey-tls` while it is on, when the address accepts TLS connections alone. A consumer reaches either with a Redis-protocol client, over TLS for `valkey-tls`. A client that reads only `host` and `port` reads this key too to learn that TLS is required: a plaintext client reaching a TLS listener fails its handshake and exchanges no command. |
uses 소켓
이 컴포넌트가 연결에 사용하는 의존성 소켓입니다. 소켓을 통해 배선되는 모든 연결의 대상은 해당 소켓의 레이블 셀렉터를 충족해야 하며, 각 연결은 소켓이 선언한 슬롯에 첨부를 전달할 수 있습니다. 필수 슬롯은 Aggregate 또는 Release가 해당 소켓을 통해 배선하는 각 연결이 채워야 합니다.
선언된 uses 소켓이 없습니다.
첨부 슬롯
Feature가 이 컴포넌트에 첨부되는 이름 있는 바인딩 지점입니다. 슬롯의 셀렉터는 어떤 Feature가 슬롯을 채울 수 있는지를 제한하고, 슬롯의 inject 목록은 Feature의 자료를 어떻게 전달할 수 있는지를 지정합니다. 필수 슬롯은 인스턴스의 첨부 또는 그 위 범위의 첨부를 통해 모든 인스턴스에서 바인딩되어야 하며, 민감 슬롯은 비밀 자료를 처리하도록 선언됩니다. Feature는 어떤 슬롯도 선언하지 않은 이름으로 첨부될 수도 있습니다.
| 슬롯 | 셀렉터 | 필수 | 주입 | 민감 | 설명 |
|---|---|---|---|---|---|
| password | feature.aggrega.ai/kind=secret | 아니요 | env | 예 | Optional cache authentication credential. When attached, enables Valkey password authentication and supplies the password; unattached, the cache runs without authentication. On ElastiCache the password is the AUTH token, which the service accepts only while infra.client_tls is true, drawn by core/random-password, when Terraform applies or the stack is created, with no punctuation and at least 16 characters. Memorystore for Valkey takes no password a Release supplies, so terraform/valkey-memorystore halts on any attachment here. |
| server_certificate | feature.aggrega.ai/kind=secret | 아니요 | file | 예 | Optional certificate the cache presents to its clients while infra.client_tls is true: a Secret holding tls.crt, the certificate followed by any intermediate certificates, and tls.key, its private key, the two keys a kubernetes.io/tls Secret holds. The certificate names every address a client dials: the published host, and its namespace-qualified forms where clients in other namespaces connect. Mounted as files, so attach a Feature that names an existing Secret, such as core/referenced-secret. Required by the Kubernetes realizations while client_tls is true; a build halts on it attached while client_tls is false. ElastiCache presents a certificate AWS issues, and Memorystore one from the instance's own authority, so their realizations halt on any attachment here. |
자체 주입 허용 목록
env
관계
게시된 다른 엔터티와 주고받는 타입 지정 에지입니다. 게시된 대상이 없는 참조는 링크가 아닌 끊어진 에지로 표시됩니다.
사용함
이 엔터티는 카탈로그의 어떤 것도 사용하지 않습니다.
사용됨
소켓 «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» 사용
소켓 «cache_store» 사용
소켓 «cache» 사용
소켓 «cache» 사용
소켓 «cache_store» 사용
소켓 «upstream» 사용
소켓 «cache» 사용
소켓 «cache_store» 사용
소켓 «cache» 사용
소켓 «state_store» 사용
소켓 «state_store» 사용
소켓 «forward_target» 사용
소켓 «backend» 사용
소켓 «cache» 사용
소켓 «chunk_cache» 사용
소켓 «scrape_target» 사용
소켓 «store» 사용
소켓 «backend» 사용
적용 대상
적용 대상
적용 대상
적용 대상
적용 대상
적용 대상
적용 대상
구현
구현
구현
구현
구현
구현