Ta strona została przetłumaczona maszynowo. Przeczytaj oryginał w języku angielskim.

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.

Pochodzenie

OficjalnyPodpisano tożsamością podpisującą, którą ten katalog uznaje za oficjalnego wydawcę.
Skrót zawartości
sha256:e4ceb14cd19c8289839188871966488b1b838922263d39da8a55128c0af45a22
Opublikowano
2026-11-10T10:28:28Z
Tożsamość podpisująca
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Podpis

  • Oficjalnyapplication/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

Referencja w tej wersji

oci://hub.aggrega.ai/recipe/terraform/memcached-memorystore:1.0.0
Cel
—
Implementuje
core/datastore/memcached:1.0.0

Udostępnia

Deterministyczne szablony wskaźników, które ta receptura podłącza dla konsumentów.

NazwaSzablon
host{{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.node_address}{{ end }}
port11211
protocolmemcached

Workload

Nie zadeklarowano szablonu obciążenia roboczego.

Zmienne lokalne

NazwaSzablon
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 }}

Mapowanie wartości

Nie zadeklarowano mapowania wartości.

Relacje

Typowane krawędzie do innych opublikowanych encji i od nich. Odwołanie bez opublikowanego celu jest renderowane jako przerwana krawędź, a nie jako łącze.

Używa

  • implementujeimplementujekontrakt zgodny

    core/datastore/memcached:1.0.0

    Wszystkie wymagane wyjścia są spełnione, a każde udostępniane wyjście jest wymienione w kontrakcie.

Używane przez

Nic w katalogu nie zależy od tej encji.

Dokumentacja pojęcia Recipe →

Katalog Aggrega — otwarty indeks komponentów, funkcji, receptur oraz wtyczek, które je renderują.

Zbudowano przy użyciu wspólnego systemu projektowego Aggrega.

Prywatność