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.
Helm chart has been moved to HowDevOps/helm-charts repository.
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 | "" |
docker run --name puller -e IMAGES=busybox,alpine -e INTERVAL=60m -v /var/run/docker.sock:/var/run/docker.sock -d locnh/k8s-puller
- Fork me
- Make changes
- Create pull request
- Grab a cup of tee and enjoy