Sign inSign up

cyd01/kubetools

By cyd01

•Updated 3 days ago

A kubectl Kubernetes client, with useful tools

Image
0

145

cyd01/kubetools repository overview

⁠kubetools: A kubectl Kubernetes client, with useful tools

kubetools is an image (alpine based) containing some Kubernetes⁠ useful tools:

  • kubectl⁠: the command line tool for communicating with a Kubernetes cluster's control plane, using the Kubernetes API
  • helm⁠: the package manager for Kubernetes
  • helmfile⁠: declaratively deploy your Kubernetes manifests, Kustomize configs, and Charts as Helm releases
  • krew⁠: the plugin manager for kubectl command-line tool
  • k9s⁠: Kubernetes CLI To Manage Your Clusters In Style!
  • kubelogin⁠: kubectl plugin for Kubernetes OpenID Connect authentication
  • k3d⁠: a lightweight wrapper to run k3s⁠ (Rancher Lab’s minimal Kubernetes distribution) in docker
  • kubectx⁠: faster way to switch between clusters kubectl
  • kubens⁠: faster way to switch between namespaces in kubectl
  • kubeswitcher⁠: the kubectx for operators

⁠How to use

⁠Run kubectl directly
$ docker run --rm --interactive --tty --name kubetools --hostname kubetools \
    --volume /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt \
    --volume ${HOME}/.kube/config:/root/.kube/config \
    cyd01/kubetools:latest
kubectl controls the Kubernetes cluster manager.

 Find more information at: https://kubernetes.io/docs/reference/kubectl/

Basic Commands (Beginner):
  create          Create a resource from a file or from stdin
  expose          Take a replication controller, service, deployment or pod and expose it as a new Kubernetes service
  run             Run a particular image on the cluster
  set             Set specific features on objects

...
⁠Run other tools

To run anyother builtin tools run the image with the pre-embedded bash shell:

$ docker run --rm --interactive --tty --name kubetools --hostname kubetools \
    --volume /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt \
    --volume ${HOME}/.kube/config:/root/.kube/config \
    cyd01/kubetools:latest bash
kubetools:~# 

⁠Contact

If you need other tools in this image just contact me⁠.


Tag summary

Content type

Image

Digest

sha256:e07d49fc3…

Size

250.4 MB

Last updated

3 days ago

docker pull cyd01/kubetools