Halaman ini diterjemahkan oleh mesin. Baca versi asli dalam bahasa Inggris.

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.

Asal-usul

ResmiDitandatangani oleh identitas penandatangan yang diakui katalog ini sebagai penerbit resmi.
Digest konten
sha256:e4ceb14cd19c8289839188871966488b1b838922263d39da8a55128c0af45a22
Dipublikasikan
2026-11-10T10:28:28Z
Identitas penandatangan
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Tanda tangan

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

Referensi pada versi ini

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

Menyediakan

Templat pointer deterministik yang dihubungkan resep ini untuk konsumen.

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

Workload

Tidak ada templat beban kerja yang dideklarasikan.

Nilai lokal

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

Pemetaan values

Tidak ada pemetaan values yang dideklarasikan.

Relasi

Sisi bertipe ke dan dari entitas lain yang dipublikasikan. Referensi tanpa target yang dipublikasikan ditampilkan sebagai sisi yang terputus, bukan sebagai tautan.

Menggunakan

  • mengimplementasikanmengimplementasikankontrak kompatibel

    core/datastore/memcached:1.0.0

    Semua keluaran wajib terpenuhi dan setiap keluaran yang disediakan disebutkan dalam kontrak.

Digunakan oleh

Tidak ada apa pun di katalog yang bergantung pada entitas ini.

Referensi konsep Recipe →

Katalog Aggrega — indeks terbuka berisi komponen, fitur, resep, dan plugin yang merendernya.

Dibangun dengan sistem desain Aggrega yang digunakan bersama.

Privasi