Skip to main content

Get a list of CRs for cluster CRDs in a namespace

Project description

kubectlgetall

List all CR's for all CRD types on a cluster in a given namespace.

Requires kubectl to be installed.

Usage

kubectlgetall <namespace>

There are some flags that can be passed.

kubectlgetall --help
Usage: kubectlgetall [OPTIONS] NAMESPACE

  Returns a list of CR for the different CRDs in a given namespace

Options:
  --version                       Show the version and exit.
  -s, --sort                      Prints the resources in an order. Initial
                                  results take longer to show. Unsorted return
                                  results faster but can hit rate limits.
  -e, --exclude TEXT              Exclude crd types. Multiple can be excluded
                                  eg: "-e <crd type> -e <other type>"
  -o, --output [tty|json|sqlite]  Changes the output format of the results
                                  [default: tty]
  -d, --database TEXT             Path to the sqlite file to save the results.
                                  If the file does not exist it will be
                                  created.
  -l, --label TEXT                Set the label that will be saved with
                                  entries when using the --database option.
  --help                          Show this message and exit.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kubectlgetall-0.3.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

kubectlgetall-0.3.0-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page