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

KeyTypeDefaultDescription
affinityobject{}
clusterDomainstring"cluster.local"
commonAnnotationsobject{}
commonLabelsobject{}
containerPorts.memcachedint11211
containerSecurityContext.allowPrivilegeEscalationboolfalse
containerSecurityContext.capabilities.drop[0]string"ALL"
containerSecurityContext.enabledbooltrue
containerSecurityContext.readOnlyRootFilesystemboolfalse
containerSecurityContext.runAsGroupint1001
containerSecurityContext.runAsNonRootbooltrue
containerSecurityContext.runAsUserint1001
containerSecurityContext.seccompProfile.typestring"RuntimeDefault"
enableServiceLinksboolfalse
extraDeploylist[]
extraEnvVarslist[]
extraVolumeMountslist[]
extraVolumeslist[]
fullnameOverridestring""
global.imagePullSecretslist[]
global.imageRegistrystring""
image.digeststring"sha256:784fc5f58438bcf57349e97f114cfa387c3526b8fb0e3971962323cd33356183"
image.pullPolicystring"Always"
image.pullSecretslist[]
image.registrystring"ghcr.io"
image.repositorystring"kubelauncher/memcached"
image.tagstring"1.6.45"
initContainerslist[]
livenessProbe.enabledbooltrue
livenessProbe.failureThresholdint5
livenessProbe.initialDelaySecondsint10
livenessProbe.periodSecondsint10
livenessProbe.successThresholdint1
livenessProbe.timeoutSecondsint5
memcachedExtraFlagsstring"-v"
memcachedMaxConnectionsint1024
memcachedMaxMemoryint64
memcachedThreadsint4
metrics.containerPorts.metricsint9150
metrics.enabledboolfalse
metrics.image.pullPolicystring"Always"
metrics.image.registrystring"ghcr.io"
metrics.image.repositorystring"kubelauncher/memcached-exporter"
metrics.image.tagstring"0.15.5"
metrics.serviceMonitor.enabledboolfalse
metrics.serviceMonitor.intervalstring""
metrics.serviceMonitor.labelsobject{}
metrics.serviceMonitor.scrapeTimeoutstring""
nameOverridestring""
namespaceOverridestring""
networkPolicy.additionalRuleslist[]
networkPolicy.allowExternalbooltrue
networkPolicy.enabledboolfalse
nodeSelectorobject{}
podAnnotationsobject{}
podLabelsobject{}
podSecurityContext.enabledbooltrue
podSecurityContext.fsGroupint1001
readinessProbe.enabledbooltrue
readinessProbe.failureThresholdint5
readinessProbe.initialDelaySecondsint5
readinessProbe.periodSecondsint5
readinessProbe.successThresholdint1
readinessProbe.timeoutSecondsint1
replicaCountint1
resourcesobject{}
resourcesPresetstring"nano"
service.annotationsobject{}
service.clusterIPstring""
service.labelsobject{}
service.nodePorts.memcachedstring""
service.ports.memcachedint11211
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.automountServiceAccountTokenboolfalse
serviceAccount.createbooltrue
serviceAccount.namestring""
sidecarslist[]
startupProbe.enabledbooltrue
startupProbe.failureThresholdint30
startupProbe.initialDelaySecondsint5
startupProbe.periodSecondsint5
startupProbe.successThresholdint1
startupProbe.timeoutSecondsint5
tolerationslist[]

Maintainers

NameEmailUrl
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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartmemcached is pinned at v0.1.35 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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