Sign inSign up

locnh/k8s-puller

By locnh

Updated about 5 years ago

The puller periodically pulls image(s) to cluster nodes

Image
1

100K+

locnh/k8s-puller repository overview

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
VariableDescriptionMandatoryDefault
IMAGESList of images to be pulled, separated by ,Yesnull
INTERVALTime interval, eg: 30s, 5m, 1h, ... moreNo60m
JSONLOGToggle for JSON log formatNofalse
DOCKER_USERNAMEusername to login to docker registryNo""
DOCKER_PASSWORDpassword to login to docker registryNo""
DOCKER_SERVERserver to login to docker registryNo""
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

Tag summary

Content type

Image

Digest

Size

18.5 MB

Last updated

about 5 years ago

docker pull locnh/k8s-puller