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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for kubectlgetall-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e638e136b94a068d5bfc478051a3e36f6dec19d9bef9dd32145460de1b8b4e94 |
|
MD5 | 7b203010fbb29c90d52559b7346ab7d4 |
|
BLAKE2b-256 | fee0da9860bdf5c1f6a3202468439859c53475cb8126fe5fdf00d0840a03c3c6 |