memcached
by kubelauncher
Helm chartv0.1.35App 1.6.45Apache-2.0Verified publisher
Memcached in-memory caching system
About this chart
memcached
Memcached in-memory caching system
TL;DR
helm repo add kubelauncher https://kubelauncher.github.io/charts
helm install my-memcached kubelauncher/memcached
Or via OCI:
helm install my-memcached oci://ghcr.io/kubelauncher/charts/memcached
Introduction
This chart deploys Memcached on Kubernetes using the kubelauncher/memcached Docker image.
Memcached is a single-node in-memory cache. The default configuration allocates 64MB of memory with 4 threads and 1024 max connections. Verbose logging is enabled by default via the -v flag.
helm install my-memcached kubelauncher/memcached \
--set memcachedMaxMemory=128 \
--set memcachedThreads=8
The service listens on port 11211.
Installing the Chart
helm repo add kubelauncher https://kubelauncher.github.io/charts
helm install my-memcached kubelauncher/memcached
Or via OCI:
helm install my-memcached oci://ghcr.io/kubelauncher/charts/memcached
Uninstalling the Chart
helm uninstall my-memcached
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| clusterDomain | string | "cluster.local" | |
| commonAnnotations | object | {} | |
| commonLabels | object | {} | |
| containerPorts.memcached | int | 11211 | |
| containerSecurityContext.allowPrivilegeEscalation | bool | false | |
| containerSecurityContext.capabilities.drop[0] | string | "ALL" | |
| containerSecurityContext.enabled | bool | true | |
| containerSecurityContext.readOnlyRootFilesystem | bool | false | |
| containerSecurityContext.runAsGroup | int | 1001 | |
| containerSecurityContext.runAsNonRoot | bool | true | |
| containerSecurityContext.runAsUser | int | 1001 | |
| containerSecurityContext.seccompProfile.type | string | "RuntimeDefault" | |
| enableServiceLinks | bool | false | |
| extraDeploy | list | [] | |
| extraEnvVars | list | [] | |
| extraVolumeMounts | list | [] | |
| extraVolumes | list | [] | |
| fullnameOverride | string | "" | |
| global.imagePullSecrets | list | [] | |
| global.imageRegistry | string | "" | |
| image.digest | string | "sha256:784fc5f58438bcf57349e97f114cfa387c3526b8fb0e3971962323cd33356183" | |
| image.pullPolicy | string | "Always" | |
| image.pullSecrets | list | [] | |
| image.registry | string | "ghcr.io" | |
| image.repository | string | "kubelauncher/memcached" | |
| image.tag | string | "1.6.45" | |
| initContainers | list | [] | |
| livenessProbe.enabled | bool | true | |
| livenessProbe.failureThreshold | int | 5 | |
| livenessProbe.initialDelaySeconds | int | 10 | |
| livenessProbe.periodSeconds | int | 10 | |
| livenessProbe.successThreshold | int | 1 | |
| livenessProbe.timeoutSeconds | int | 5 | |
| memcachedExtraFlags | string | "-v" | |
| memcachedMaxConnections | int | 1024 | |
| memcachedMaxMemory | int | 64 | |
| memcachedThreads | int | 4 | |
| metrics.containerPorts.metrics | int | 9150 | |
| metrics.enabled | bool | false | |
| metrics.image.pullPolicy | string | "Always" | |
| metrics.image.registry | string | "ghcr.io" | |
| metrics.image.repository | string | "kubelauncher/memcached-exporter" | |
| metrics.image.tag | string | "0.15.5" | |
| metrics.serviceMonitor.enabled | bool | false | |
| metrics.serviceMonitor.interval | string | "" | |
| metrics.serviceMonitor.labels | object | {} | |
| metrics.serviceMonitor.scrapeTimeout | string | "" | |
| nameOverride | string | "" | |
| namespaceOverride | string | "" | |
| networkPolicy.additionalRules | list | [] | |
| networkPolicy.allowExternal | bool | true | |
| networkPolicy.enabled | bool | false | |
| nodeSelector | object | {} | |
| podAnnotations | object | {} | |
| podLabels | object | {} | |
| podSecurityContext.enabled | bool | true | |
| podSecurityContext.fsGroup | int | 1001 | |
| readinessProbe.enabled | bool | true | |
| readinessProbe.failureThreshold | int | 5 | |
| readinessProbe.initialDelaySeconds | int | 5 | |
| readinessProbe.periodSeconds | int | 5 | |
| readinessProbe.successThreshold | int | 1 | |
| readinessProbe.timeoutSeconds | int | 1 | |
| replicaCount | int | 1 | |
| resources | object | {} | |
| resourcesPreset | string | "nano" | |
| service.annotations | object | {} | |
| service.clusterIP | string | "" | |
| service.labels | object | {} | |
| service.nodePorts.memcached | string | "" | |
| service.ports.memcached | int | 11211 | |
| service.type | string | "ClusterIP" | |
| serviceAccount.annotations | object | {} | |
| serviceAccount.automountServiceAccountToken | bool | false | |
| serviceAccount.create | bool | true | |
| serviceAccount.name | string | "" | |
| sidecars | list | [] | |
| startupProbe.enabled | bool | true | |
| startupProbe.failureThreshold | int | 30 | |
| startupProbe.initialDelaySeconds | int | 5 | |
| startupProbe.periodSeconds | int | 5 | |
| startupProbe.successThreshold | int | 1 | |
| startupProbe.timeoutSeconds | int | 5 | |
| tolerations | list | [] |
Maintainers
| Name | Url | |
|---|---|---|
| kubelauncher | [email protected] | https://www.kubelauncher.com |
Deploy memcached with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has memcached on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartmemcached is pinned at v0.1.35 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply