Docker image to keep Kubernetes regular tools version up to date without installing local.
Explore the docs »
Report Bug
·
Request Feature
Table of Contents
This project was intended to keep containerized and updated versions of some regular Kubernetes tools.
You can execute current release with Docker.
docker run --rm -it -v "$env:USERPROFILE\.kube:/root/.kube" ghcr.io/ark667/k8sutils:master bash
You can also clone the repo and build the image yourself.
git clone https://github.com/Ark667/K8sUtils.git
Docker build -t k8sutils .\K8sUtils
Basic usage is pretty straightforrward. Just run the container with desired tool and parameters. The mapped volume contains Kubectl context configuration so the container tools can also use it.
docker run --rm -it -v "$env:USERPROFILE\.kube:/root/.kube" k8sutils bash
docker run --rm -it -v "$env:USERPROFILE\.kube:/root/.kube" k8sutils kubectl get pods -n kube-system
docker run --rm -it -v "$env:USERPROFILE\.kube:/root/.kube" k8sutils echo `nKUBECT`n========; kubectl version; echo `nKOPS`n========; kops version; echo `nLINKERD`n========; linkerd version; echo ''
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Aingeru Medrano - @AingeruBlack
Project Link: https://github.com/Ark667/K8sUtils