kube-image-keeper
by ENIX
The keeper of your images in your cluster!
About this chart
kube-image-keeper (kuik)
[!IMPORTANT] kuik v3 is generally available: 3.0.0 is stable and ready for production. Use it for new installs. There is no migration path from v2 yet: keep your existing installs on v2, see Upgrading from v2. v2.3 is maintained on the
2.3.xbranch: see its releases and its documentation on kuik.enix.io.
kuik (pronounced /kwɪk/, like "quick") is the shortname of kube-image-keeper.
✅ Its primary objective is to maximize the availability of Pod images strictly within the Kubernetes cluster it runs on.
✅ Its secondary goal is to ensure bulletproof reliability by keeping the manipulation of Kubernetes primitives to an absolute minimum.
Under the hood
It relies on three core mechanisms:
- Image routing: rewrites Pod image paths on the fly during their creation to redirect them to a functional registry.
- Image copy: mirror images used by the local cluster across registries, building a virtual, highly available registry.
- Image monitoring: continuously tracks the availability of Pod images used within the local cluster across various registries.
[!NOTE] Image routing is performed at Pod creation by a lightweight
MutatingWebhookthat automatically rewrites the image path whenever the source registry becomes unavailable.
Status
This branch holds kuik v3, a rewrite generally available since 3.0.0:
- v3.0 beta, reached on 2026-10-27: every feature planned for 3.0 is in.
- v3.0 GA, reached on 2026-11-17 with 3.0.0: stable, ready for production.
- v3.1, next.
| Feature | Status |
|---|---|
Image routing (ImageAlternative, mutating webhook) | Available since 3.0.0-alpha.2 |
| Pull secret injection (secret syncer) | Available since 3.0.0-alpha.3 |
Image copy (ImageMirror) | Available since 3.0.0-alpha.4 |
Image monitoring (ImageMonitor) | Tracking and checks available since 3.0.0-alpha.4, alternatives since 3.0.0-alpha.5 |
| Admission validation | Available since 3.0.0-alpha.5 |
Credentials from a cloud provider (auth.provider) | Accepted and validated, but not used yet: kuik skips it and tries the next credential. Planned for v3.1 (#747) |
Plain-HTTP alternatives and mirror destinations (insecure) | Available since 3.0.0-alpha.2 for ImageAlternative, since 3.0.0-alpha.4 for ImageMirror |
Private certificate authorities and self-signed certificates (tls) | Available since 3.0.0-alpha.6 |
| Migration from v2 | None yet: keep existing installs on v2 and use v3 for new installs; a migration path from the latest v2 will follow once v3 is battle-tested (#749) |
- Stable version: v3, for new installs. v2.3, documented on kuik.enix.io, is maintained for existing installs: bug fixes only, until a migration path exists.
- v3 specification:
docs/v3/, the design as decided before the implementation, kept as a historical record: what kuik does is in the user documentation (why). - Custom resources:
ImageAlternative(routing),ImageMirror(copy) andImageMonitor(monitoring), described in the CRD reference.
Development process and decisions are recorded in notes/. Contributions follow CONTRIBUTING.md.
Values
| Key | Type | Default | Description |
|---|---|---|---|
| image.repository | string | "quay.io/enix/kube-image-keeper" | Image repository, the same binary serves the three processes |
| image.pullPolicy | string | "IfNotPresent" | Image pull policy |
| image.tag | string | "" | Image tag, the chart appVersion by default |
| imagePullSecrets | list | [] | Secrets used to pull the image |
| verbosity | string | "INFO" | Logging verbosity |
| replicas | int | 2 | Number of pods of a process. Admission sits in the path of every pod creation, so a second webhook replica keeps it answering while one is down or rolling. The reconciler and the secret syncer elect a leader, so a second replica stands by and takes the lease over while the first is down or rolling. |
| podAnnotations | object | {} | Annotations added to the pods |
| podSecurityContext | object | {"runAsNonRoot":true,"seccompProfile":{"type":"RuntimeDefault"}} | Security context of the pods |
| securityContext | object | {"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true} | Security context of the containers |
| nodeSelector | object | {} | Node selector of the pods |
| tolerations | list | [] | Tolerations of the pods |
| affinity | object | {} | Affinity of the pods |
| topologySpreadConstraints | list | [] | Topology spread constraints of the pods |
| deploymentStrategy | object | {} | Deployment strategy |
| priorityClassName | string | "" | Priority class of the pods |
| podDisruptionBudget.enabled | bool | true | Create a PodDisruptionBudget for each process, so that node drains never evict every replica of a process at once. It never keeps an unready pod from being evicted |
| podDisruptionBudget.maxUnavailable | int or string | 1 | Pods of a process a voluntary disruption may take down at a time, a number or a percentage. With 1, a process with a single replica can still be drained. With 0 or 0%, the ready pods of that process can never be evicted, so a node drain blocks |
| env | list | [] | Extra environment variables of the containers |
| readinessProbe | object | {"httpGet":{"path":"/readyz","port":8081}} | Readiness probe of the containers |
| livenessProbe | object | {"httpGet":{"path":"/healthz","port":8081}} | Liveness probe of the containers |
| resources.requests.cpu | string | "50m" | CPU requested by a container |
| resources.requests.memory | string | "50Mi" | Memory requested by a container |
| resources.limits.cpu | string | "1" | CPU limit of a container |
| resources.limits.memory | string | "512Mi" | Memory limit of a container |
| webhook.replicas | int | the root replicas | Number of webhook pods |
| webhook.certificate.createIssuer | bool | true | Create a self-signed Issuer for the webhook serving certificate |
| webhook.certificate.issuerRef | object | {"kind":"Issuer","name":"kube-image-keeper-selfsigned-issuer"} | Issuer the serving certificate is requested from, ignored when createIssuer is true |
| webhook.namespaceSelector | object | {} | Namespace selector of the MutatingWebhookConfiguration: which namespaces the webhook rewrites pods in |
| webhook.shutdownDelaySeconds | int | 10 | Seconds a stopping webhook pod keeps answering, unready, before it stops listening. A deleted pod stays a Service endpoint until every kube-proxy has seen it go, and the pods created meanwhile would be admitted unrouted: raise it on a cluster where endpoint updates take longer. The pod's termination grace period is this delay plus 10 seconds. |
| webhook.image.repository | string | the root image.repository | Image repository of the webhook pods |
| webhook.image.pullPolicy | string | the root image.pullPolicy | Image pull policy of the webhook pods |
| webhook.image.tag | string | the root image.tag | Image tag of the webhook pods |
| webhook.imagePullSecrets | list | the root imagePullSecrets | Secrets used to pull the image of the webhook pods |
| webhook.verbosity | string | the root verbosity | Logging verbosity of the webhook |
| webhook.podAnnotations | object | the root podAnnotations | Annotations added to the webhook pods, merged over the root ones |
| webhook.podSecurityContext | object | the root podSecurityContext | Security context of the webhook pods |
| webhook.securityContext | object | the root securityContext | Security context of the webhook container |
| webhook.nodeSelector | object | the root nodeSelector | Node selector of the webhook pods |
| webhook.tolerations | list | the root tolerations | Tolerations of the webhook pods |
| webhook.affinity | object | the root affinity | Affinity of the webhook pods |
| webhook.topologySpreadConstraints | list | the root topologySpreadConstraints | Topology spread constraints of the webhook pods |
| webhook.deploymentStrategy | object | the root deploymentStrategy | Deployment strategy of the webhook |
| webhook.priorityClassName | string | the root priorityClassName | Priority class of the webhook pods |
| webhook.podDisruptionBudget.enabled | bool | the root podDisruptionBudget.enabled | Create the PodDisruptionBudget of the webhook |
| webhook.podDisruptionBudget.maxUnavailable | int or string | the root podDisruptionBudget.maxUnavailable | Pods of the webhook a voluntary disruption may take down at a time |
| webhook.env | list | the root env | Extra environment variables of the webhook container, appended to the root ones |
| webhook.readinessProbe | object | the root readinessProbe | Readiness probe of the webhook container |
| webhook.livenessProbe | object | the root livenessProbe | Liveness probe of the webhook container |
| webhook.resources | object | the root resources | Resources of the webhook container |
| webhook.serviceAccount.create | bool | the root serviceAccount.create | Create the ServiceAccount of the webhook |
| webhook.serviceAccount.name | string | "" | Name of the ServiceAccount of the webhook, <fullname>-webhook when empty |
| webhook.serviceAccount.annotations | object | the root serviceAccount.annotations | Annotations added to the ServiceAccount of the webhook, merged over the root ones |
| webhook.serviceAccount.extraLabels | object | the root serviceAccount.extraLabels | Labels added to the ServiceAccount of the webhook, merged over the root ones |
| reconciler.replicas | int | the root replicas | Number of reconciler pods |
| reconciler.image.repository | string | the root image.repository | Image repository of the reconciler pods |
| reconciler.image.pullPolicy | string | the root image.pullPolicy | Image pull policy of the reconciler pods |
| reconciler.image.tag | string | the root image.tag | Image tag of the reconciler pods |
| reconciler.imagePullSecrets | list | the root imagePullSecrets | Secrets used to pull the image of the reconciler pods |
| reconciler.verbosity | string | the root verbosity | Logging verbosity of the reconciler |
| reconciler.podAnnotations | object | the root podAnnotations | Annotations added to the reconciler pods, merged over the root ones |
| reconciler.podSecurityContext | object | the root podSecurityContext | Security context of the reconciler pods |
| reconciler.securityContext | object | the root securityContext | Security context of the reconciler container |
| reconciler.nodeSelector | object | the root nodeSelector | Node selector of the reconciler pods |
| reconciler.tolerations | li |
Deploy kube-image-keeper with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kube-image-keeper 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 chartkube-image-keeper is pinned at v3.0.1-rc.1 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