regcache
In-cluster pull-through Docker registry cache (CNCF Distribution / registry:3)
About this chart
Registry Proxy
Registry Proxy by AppsCode - In-cluster pull-through Docker registry cache
TL;DR;
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/regcache --version=v2026.11.30
$ helm upgrade -i regcache appscode/regcache -n kubeops --create-namespace --version=v2026.11.30
Introduction
This chart deploys a pull-through registry cache on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.29+
Installing the Chart
To install/upgrade the chart with the release name regcache:
$ helm upgrade -i regcache appscode/regcache -n kubeops --create-namespace --version=v2026.11.30
The command deploys a pull-through registry cache on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall the regcache:
$ helm uninstall regcache -n kubeops
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following table lists the configurable parameters of the regcache chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| enabled | Deploys a CNCF Distribution (registry:3) instance configured as a pull-through cache for the upstream registry (ghcr.io by default), so that ghcr.io/appscode-charts images can be transparently served from within the cluster. | true |
| replicaCount | 1 | |
| nameOverride | "" | |
| fullnameOverride | "" | |
| registryFQDN | Docker registry fqdn used to pull the registry image. Set this to use docker registry hosted at ${registryFQDN}/${registry}/${image} | ghcr.io |
| image.registry | Docker registry used to pull the registry image | appscode-images |
| image.repository | registry container image | registry |
| image.tag | Overrides the image tag | "3.1.1" |
| image.pullPolicy | IfNotPresent | |
| imagePullSecrets | Specify an array of imagePullSecrets. Secrets must be manually created in the namespace. | [] |
| remoteURL | Upstream registry URL that this instance proxies as a pull-through cache. | https://ghcr.io |
| ttl | How long a cached blob/manifest is kept before the pull-through cache scheduler purges it. This is the only thing that frees disk: the cache has no capacity-based (LRU) eviction, so the on-disk size is roughly the set of distinct artifacts pulled within this window. Shorten it to bound disk usage (at the cost of re-fetching from upstream more often); lengthen it to cache for longer. Accepts a Go duration (e.g. 24h, 72h, 168h). | "72h" |
| username | Optional credentials for authenticating against the upstream registry. Leave empty for anonymous pulls (ghcr.io/appscode-charts is public). | "" |
| password | "" | |
| podAnnotations | {} | |
| podSecurityContext |
Deploy regcache with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has regcache 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 chartregcache is pinned at v2026.11.30 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