Skip to content

Helm chart to deploy k8s puller to periodically pull the images to all nodes in the cluster to speed up launch process.

License

Notifications You must be signed in to change notification settings

locnh/k8s-puller

Repository files navigation

k8s Images Puller

The puller periodically pulls image(s) to k8s cluster nodes to save the time of pulling images when launching new pods.

These are the Docker Hub autobuild images located here.

License Build Status Docker Image Size (latest semver) Docker Image Version (latest semver) Docker codecov

Usage

** Helm **

Helm chart has been moved to HowDevOps/helm-charts repository.

** Docker **

Parameters as ENV variables

Variable Description Mandatory Default
IMAGES List of images to be pulled, separated by , Yes null
INTERVAL Time interval, eg: 30s, 5m, 1h, ... more No 60m
JSONLOG Toggle for JSON log format No false
DOCKER_USERNAME username to login to docker registry No ""
DOCKER_PASSWORD password to login to docker registry No ""
DOCKER_SERVER server to login to docker registry No ""

Run a Docker container

docker run --name puller -e IMAGES=busybox,alpine -e INTERVAL=60m -v /var/run/docker.sock:/var/run/docker.sock -d locnh/k8s-puller

Contribute

  1. Fork me
  2. Make changes
  3. Create pull request
  4. Grab a cup of tee and enjoy

About

Helm chart to deploy k8s puller to periodically pull the images to all nodes in the cluster to speed up launch process.

Resources

License

Stars

Watchers

Forks

Packages

No packages published