Skip to content

AverageMarcus/kube-image-prefetch

Repository files navigation

kube-image-prefetch

Pre-pull all images, on all nodes, within a Kubernetes cluster

Features

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

Install

kubectl apply -f https://raw.githubusercontent.com/AverageMarcus/kube-image-prefetch/master/manifest.yaml

Building from source

With Docker:

make docker-build

Standalone:

make build

Contributing

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 💙

License

See LICENSE

About

Pre-pull all images, on all nodes, within a Kubernetes cluster

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published