Цю сторінку перекладено машинно. Читати англійський оригінал.

Recipe

memcached-memorystore

Memcached on Google Cloud Memorystore for Memcached, as one instance of one node in the operator's VPC network, rendered by vendoring a Terraform module kept beside this Recipe. The published terraform-google-modules/memorystore/google module is not sourced, because its memcache module calls a module from the Terraform registry, which initialising it would fetch outside any pin. Google is deprecating the service: it creates no instance in a new project after February 1, 2027, and shuts down on January 31, 2029. Reach for it where the cache is a Memorystore instance in the operator's Google Cloud project; reach for terraform/memcached-elasticache on AWS, and for memcached on helm or on compose where it runs as a container. The project, region and network are the operator's, named in infra.overrides.project_id, region and private_network, and the Recipe emits none of them: the network needs a private services access connection before the instance is created, which every service using it shares. The service offers no encryption in transit and no authentication, so the private network alone gates the cache, and infra.client_tls, a server_certificate and a password each halt naming the key or slot. host publishes a reference to the node's address, or the DNS name in infra.overrides.host; port is 11211. values.memory_limit and values.threads size the node, and max_item_size is a parameter; max_connections, an infra.replicas above 1 and another infra.port halt naming the key.

Походження

ОфіційнийПідписано ідентичністю підписувача, яку цей каталог визнає офіційним видавцем.
Дайджест вмісту
sha256:e4ceb14cd19c8289839188871966488b1b838922263d39da8a55128c0af45a22
Опубліковано
2026-11-10T10:28:28Z
Ідентичність підписувача
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:b513165bdf7b122fcb3513e1a90d51e4e0e802710c348ac48328c53a2045b2f1

Посилання на цю версію

oci://hub.aggrega.ai/recipe/terraform/memcached-memorystore:1.0.0
Ціль
—
Реалізує
core/datastore/memcached:1.0.0

Надає

Детерміновані шаблони вказівників, які цей рецепт під’єднує для споживачів.

НазваШаблон
host{{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.node_address}{{ end }}
port11211
protocolmemcached

Workload

Шаблон робочого навантаження не оголошено.

Локальні значення

НазваШаблон
memcache_version{{ $v := regexFind `^[0-9]+\.[0-9]+(\.[0-9]+)?` (toString .infra.engine_version) }}{{ if has $v (list "1.6" "1.6.15") }}MEMCACHE_1_6_15{{ else if has $v (list "1.5" "1.5.16") }}MEMCACHE_1_5{{ end }}
memory_mb{{ optional .values "memory_limit" 1024 }}
cpu_count{{ optional .values "threads" 1 }}
item_size{{ with optional .values "max_item_size" "" }}{{ $s := toString . }}{{ $n := regexFind `^[0-9]+` $s }}{{ $u := lower (trimPrefix $n $s) }}{{ if eq $u "k" }}{{ mul (int $n) 1024 }}{{ else if eq $u "m" }}{{ mul (int $n) 1048576 }}{{ else }}{{ $n }}{{ end }}{{ end }}
operator_host{{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }}

Відображення значень

Відображення значень не оголошено.

Зв’язки

Типізовані ребра до інших опублікованих сутностей і від них. Відсилання без опублікованої цілі відображається як розірване ребро, а не як посилання.

Використовує

  • реалізуєреалізуєконтракт сумісний

    core/datastore/memcached:1.0.0

    Усі обов’язкові виходи задоволено, і кожен наданий вихід названо в контракті.

Використовується в

Ніщо в каталозі не залежить від цієї сутності.

Довідка про поняття Recipe →

Каталог Aggrega — відкритий індекс компонентів, функцій, рецептів і плагінів, які їх рендерять.

Створено на основі спільної дизайн-системи Aggrega.

Конфіденційність