Mirror images into your own registry and swap image references automatically.
k8s-image-swapper
is a mutating webhook for Kubernetes, downloading images into your own registry and pointing the images to that new location.
It is an alternative to a docker pull-through proxy.
The feature set was primarily designed with Amazon ECR in mind but may work with other registries.
Using k8s-image-swapper
will improve the overall availability, reliability, durability and resiliency of your
Kubernetes cluster by keeping 3rd-party images mirrored into your own registry.
k8s-image-swapper
will transparently consolidate all images into a single registry without the need to adjust manifests
therefore reducing the impact of external registry failures, rate limiting, network issues, change or removal of images
while reducing data traffic and therefore cost.
TL;DR:
- Protect against:
- external registry failure (quay.io outage)
- image pull rate limiting (docker.io rate limits)
- accidental image changes
- removal of images
- Use in air-gaped environments without the need to change manifests
- Reduce NAT ingress traffic/cost
A comprehensive guide on getting started and a list of configuration options can be found in the documentation.
You have questions, need support and or just want to talk about k8s-image-swapper
?
Here are ways to get in touch with the community:
Does your company use k8s-image-swapper
?
Help keep the project bug-free and feature rich by sponsoring the project.
Does your company require individual support or addition of features within a guaranteed timeframe? Contact me via email to discuss.