Skip to content

STRRL/kubectl-image

Repository files navigation

kubectl-image

Latest Docker Image golangci-lint Go Report Card

docker image but for kubernetes

(WIP)

This project is called kuebctl-push before, if you find legacy names left, welcome open issue or PR.

Overview

Kubernetes (nearly) does not care about what images exist on the node, the only thing relates to "managing" image is image garbage collection.

I think it's not so convenient to cluster admin using another certain tools to management the images.

And another thing is I was always bothering with one problem: when I develop or debug chaos mesh, I need deliver the latest modified image to the target kubernetes cluster. If the kubernetes runs on minikube or kind with single node, I could use kind load docker-image, minikube image load, or build witheval minikube docker-env

Feature

  • List images on each Kubernetes Node
  • load image from local image
  • Deliver container images to kubernetes cluster simply, please do not use it in production env.

Roadmap

Out-of-date: This roadmap need updates.

  • build kubectl-image-agent that forwards HTTP request content to docker image load
  • play kubectl-image-agent with curl
  • build kubectl-push, automatically create Pod on Node, then send certain requests, in one command
  • terminal UI progress, silent mode
  • support kubernetes container runtime: docker
  • support local container runtime: docker
  • contributes to krew
  • reduce duplicated layers
  • support kubernetes container runtime: containerd
  • support local container runtime: containerd
  • support kubernetes container runtime: cri-o
  • support local container runtime: cri-o
  • p2p transmission

How it works

https://github.com/STRRL/kubectl-image/wiki/How-it-works%3F

About

docker image but for kubernetes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages