https://github.com/strrl/kubectl-image
docker image but for kubernetes
https://github.com/strrl/kubectl-image
Last synced: 12 months ago
JSON representation
docker image but for kubernetes
- Host: GitHub
- URL: https://github.com/strrl/kubectl-image
- Owner: STRRL
- License: apache-2.0
- Created: 2021-10-03T06:56:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T01:17:27.000Z (over 3 years ago)
- Last Synced: 2025-06-22T08:51:12.712Z (12 months ago)
- Language: Go
- Homepage:
- Size: 313 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kubectl-image
[](https://github.com/STRRL/kubectl-push/actions/workflows/latest-docker-image.yml)
[](https://github.com/STRRL/kubectl-push/actions/workflows/golangci-lint.yml)
[](https://goreportcard.com/report/github.com/STRRL/kubectl-push)
`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 with`eval 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.
- [x] build `kubectl-image-agent` that forwards HTTP request content to `docker image load`
- [x] play `kubectl-image-agent` with curl
- [x] build `kubectl-push`, automatically create Pod on Node, then send certain requests, in one command
- [ ] terminal UI progress, silent mode
- [x] support kubernetes container runtime: docker
- [x] 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