Skip to content

About

Like `kubectl get all`, but get really all resources

Resources

Contributing

Security policy

Stars

38 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

kubectl-get-all

Go Report Card LICENSE Releases

Kubectl plugin to show really all kubernetes resources

This is a fork of ketall

Intro

For a complete overview of all resources in a kubernetes cluster, kubectl get all --all-namespaces is not enough, because it simply does not show everything. This helper lists really all resources the cluster has to offer.

Demo

kubectl-get-all demo

Examples

Get all resources...

  • ... excluding events (this is hardly ever useful)

    kubectl-get-all
  • ... including events

    kubectl-get-all --exclude=
  • ... created in the last minute

    kubectl-get-all --since 1m

    This flag understands typical human-readable durations such as 1m or 1y1d1h1m1s.

  • ... in the default namespace

    kubectl-get-all --namespace=default
  • ... at cluster level

    kubectl-get-all --only-scope=cluster
  • ... using list of cached server resources

    kubectl-get-all --use-cache

    Note that this may fail to show really everything, if the http cache is stale.

  • ... and combine with common kubectl options

    KUBECONFIG=otherconfig kubectl-get-all -o name --context some --namespace kube-system --selector run=skaffold

Also see Usage.

Installation

There are several ways to install kubectl-get-all. The recommended installation method is via krew.

Via krew

Krew is a kubectl plugin manager. If you have not yet installed krew, check out the krew install guide.

Then installation is as simple as

kubectl krew install get-all

The plugin will be available as kubectl get-all.

Binaries

Download the desired version for your operating system and processor architecture from the kubectl-get-all releases page. Make the file executable and place it in a directory available in your $PATH.

From source

Build on host

Requirements:

  • go
  • git
go build

About

Like `kubectl get all`, but get really all resources

Resources

Contributing

Security policy

Stars

38 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages