k8s-puller

command module
v0.0.0-...-6951ac8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2021 License: MIT Imports: 9 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL