Pre-pull all images, on all nodes, within a Kubernetes cluster
- Pull all images used by deployments in the cluster on all nodes
- Watch for new, changed or removed deployments and pre-fetch images on all nodes
- Ignore deployments with annotation
kube-image-prefetch/ignore: "true"
- Ignore specific containers with annotation
kube-image-prefetch/ignore-containers: "container-name"
. Multiple containers within a pod can be specified as a comma separated list.
kubectl apply -f https://raw.githubusercontent.com/AverageMarcus/kube-image-prefetch/master/manifest.yaml
With Docker:
make docker-build
Standalone:
make build
If you find a bug or have an idea for a new feature please raise an issue to discuss it.
Pull requests are welcomed but please try and follow similar code style as the rest of the project and ensure all tests and code checkers are passing.
Thank you 💙
See LICENSE