kubectlgetall
List all CR's for all CRD types on a cluster in a given namespace.
Requires kubectl to be installed.
Installation
Installing with no external dependencies.
pipx install kubectallgetall
Install with nice formatting.
pipx install kubectallgetall[rich]
Usage
kubectlgetall <namespace>
There are some flags that can be passed.
kubectlgetall --help
usage: kubectlgetall [-h] [-n NAMESPACE] [-A] [--version] [-s]
[-e [EXCLUDE ...]] [-o {tty,json,sqlite}] [-d DATABASE]
[-l LABEL] [--debug]
Returns a list of CR for the different CRDs in a given namespace
options:
-h, --help show this help message and exit
-n, --namespace NAMESPACE
Namespace to get resources from.
-A, --all-namespaces If present, list all objects across all namespaces.
Specifinig --namespace will be ignored
--version show program's version number 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 [EXCLUDE ...]
Exclude crd types. Multiple can be excluded eg: "-e
<CRD> <CRD>"
-o, --output {tty,json,sqlite}
Changes the output format of the results (default:
tty)
-d, --database DATABASE
Path to the sqlite file to save the results. If the
file does not exist it will be created.
-l, --label LABEL Set the label that will be saved with entries when
using the --database option.
--debug Enable debug mode.
Dev
Creating the changelog
On new changes a news fragment is required.
This can be created by and news fragments to the changes directory.
These files are should have the following naming schema <issue id>.<feature|bugfix|dic|removal|misc>.
Using towncrier create -c "change message" <file name> will also create the file for you in the correct location.
Metadata
Release files for kubectlgetall 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kubectlgetall-0.4.0.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kubectlgetall-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.1 kB
Release files / kubectlgetall-0.4.0.tar.gz
| Download URL | kubectlgetall-0.4.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e1ad40fff2dda0b3d2a11cee543c4fc93ae95f230dce9a021fabd9e1f75a393
|
|
BLAKE2b-256 checksum How to use checksums |
af707e4e3dc881076b361b698726e7122915eb69c4e3a230c04aea409da4383e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.13.1 Linux/6.12.11-200.fc41.x86_64
|
Release files / kubectlgetall-0.4.0-py3-none-any.whl
| Download URL | kubectlgetall-0.4.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0315df8ad8b4db3527c5a0919a38357636a49dac756ee400381faedd6920d95a
|
|
BLAKE2b-256 checksum How to use checksums |
1051142035f6325de0adc6054ed0e59ad1bd473397776d433e3c44eefcf5dbb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.13.1 Linux/6.12.11-200.fc41.x86_64
|