k8s-image-pre-puller

module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0

README

K8S Image Pre Puller

CI

It's a simple kubernetes operator that will help you automatically pre-pull docker images on nodes. This operator can be used for speed-up pod initialization in cluster.

How to use

Install

You can install this operator by installing it through Helm Chart

Create PrePullImage

When operator installed in cluster you can simply create resources like this:

apiVersion: v1
kind: PrePullImage
metadata:
  name: my-cool-image-pre-pull
  namespace: my-namespace
spec:
  image: "gcr.io/my-cool-image"
  nodeSelector: {} # You can specify selectors for pre-pull only on particular nodes

This operator automatically will create a DaemonSet for create pre-pulling pods on every existing node.

IMPORTANT: This operator creates a DaemonSet and it will create Pod's in cluster - this pods will consume resources according to configuration. It's important to have monitoring about this resources.

Directories

Path Synopsis
cmd
internal
pkg
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/clientset/versioned/typed/images/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/images/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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