All Projects β†’ chenjiandongx β†’ kubectl-images

chenjiandongx / kubectl-images

Licence: MIT License
πŸ•Έ Show container images used in the cluster.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to kubectl-images

kube-lineage
A CLI tool to display all dependencies or dependents of an object in a Kubernetes cluster.
Stars: ✭ 238 (+55.56%)
Mutual labels:  k8s, kubectl, kubectl-plugins
kubectl-janitor
List Kubernetes objects in a problematic state
Stars: ✭ 48 (-68.63%)
Mutual labels:  k8s, kubectl, kubectl-plugins
kubectlsafe
Safe operations in kubectl with plugin kubectlsafe
Stars: ✭ 36 (-76.47%)
Mutual labels:  kubectl, kubectl-plugins
kahoy
Simple Kubernetes raw manifests deployment tool
Stars: ✭ 33 (-78.43%)
Mutual labels:  k8s, kubectl
kubectl-secretdata
A kubectl plugin for viewing decoded Secret data with search flags.
Stars: ✭ 37 (-75.82%)
Mutual labels:  kubectl, kubectl-plugins
kubeswitch
visually select kubernetes context/namespace from tree
Stars: ✭ 15 (-90.2%)
Mutual labels:  k8s, kubectl
k8s-deployer
Deploy Kubernetes service and store retrieved information in the Consul K/V store
Stars: ✭ 23 (-84.97%)
Mutual labels:  k8s, kubectl
kubectl-tmux-logs
A kubectl plugin to display container logs within separate tmux panes
Stars: ✭ 19 (-87.58%)
Mutual labels:  kubectl, kubectl-plugins
kubectl-skew
a simple kubectl plugin to make the "skew" visible
Stars: ✭ 18 (-88.24%)
Mutual labels:  kubectl, kubectl-plugins
kubectl-extras
A collection of mini plugins for kubectl.
Stars: ✭ 109 (-28.76%)
Mutual labels:  kubectl, kubectl-plugins
k8scc
# K8S Crash Course
Stars: ✭ 16 (-89.54%)
Mutual labels:  k8s, kubectl
kubectl-ns
Simple kubectl plugin to display/switch namespaces
Stars: ✭ 20 (-86.93%)
Mutual labels:  kubectl, kubectl-plugins
kubectl-ctx
Simple kubectl plugin to display/switch contexts
Stars: ✭ 36 (-76.47%)
Mutual labels:  kubectl, kubectl-plugins
kubectl-whoami
This plugin gets the subject name using the effective kubeconfig
Stars: ✭ 74 (-51.63%)
Mutual labels:  kubectl, kubectl-plugins
kubectl-plugin-ssh-jump
A kubectl plugin to access nodes or remote services using a SSH jump Pod
Stars: ✭ 117 (-23.53%)
Mutual labels:  kubectl, kubectl-plugins
command-line-cheat-sheet
πŸ“ A place to quickly lookup commands (bash, vim, git, AWS, Docker, Terraform, Ansible, kubectl)
Stars: ✭ 30 (-80.39%)
Mutual labels:  k8s, kubectl
Ansible Role Kubernetes
Ansible Role - Kubernetes
Stars: ✭ 247 (+61.44%)
Mutual labels:  k8s, kubectl
kubectl-evict-pod
This plugin evicts the given pod and is useful for testing pod disruption budget rules
Stars: ✭ 51 (-66.67%)
Mutual labels:  kubectl, kubectl-plugins
kubectl-external-forward
kubectl plugin to connect to external host via Envoy Proxy in Kubernetes cluster
Stars: ✭ 37 (-75.82%)
Mutual labels:  kubectl, kubectl-plugins
kubectl-iexec
Kubectl plugin to interactively exec into a pod
Stars: ✭ 102 (-33.33%)
Mutual labels:  kubectl, kubectl-plugins

kubectl-images

πŸ•Έ Show container images used in the cluster.

kubectl-images makes use of the kubectl command. It first calls kubectl get pods to retrieve pods details and filters out the container image information of each pod, then prints out the final result in a table view.

πŸ”° Installation

Krew

$ kubectl krew install images
Updated the local copy of plugin index.
Installing plugin: images
Installed plugin: images
\
 | Use this plugin:
 | 	kubectl images
 | Documentation:
 | 	https://github.com/chenjiandongx/kubectl-images
/

Build from source code

$ git clone https://github.com/chenjiandongx/kubectl-images.git
$ cd kubectl-images && go build -ldflags="-s -w" -o kubectl-images . && mv ./kubectl-images /usr/local/bin
$ kubectl images --help

Download the binary

# Refer to the link: https://github.com/chenjiandongx/kubectl-images/releases
# Download the binary and then...
$ chmod +x kubectl-images && mv kubectl-images /usr/local/bin/
$ kubectl images --help

πŸ“ Usage

~ 🐢 kubectl images --help
Show container images used in the cluster.

Usage:
  kubectl-images [podname-regex] [flags]

Examples:
  # display a table of all images in current namespace using podName/containerName/containerImage as columns.
  kubectl images

  # display a table of images that match 'nginx' podname regex in 'dev' namespace using podName/containerImage as columns.
  kubectl images -n dev nginx -c 1,2

Flags:
  -A, --all-namespaces         if present, list images in all namespaces.
  -c, --columns string         specify the columns to display, separated by comma. [0:Namespace, 1:PodName, 2:ContainerName, 3:ContainerImage] (default "1,2,3")
      --context string         The name of the kubeconfig context to use.
  -h, --help                   help for kubectl-images
  -k, --kubeconfig string      path to the kubeconfig file to use for CLI requests.
  -n, --namespace string       if present, list images in the specified namespace only. Use current namespace as fallback.
  -o, --output-format string   output format. [json|table] (default "table")
      --version                version for kubectl-images

πŸ”– Glances

image image

πŸ“ƒ License

MIT Β©chenjiandongx

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].