Kubes
Purposes
kubes lsto list pods(default), ns, secrets etc.kubes cxto list all namespaces or switch one.kubes logto show logs by a number of the tail or streaming with--follow.kubes cpto copy a file or directory between pod and local.kubes runto interact with a pod.- The program is using stdout and stderr which means it's able to support the next level deployment scripting.
Installation
pip install kubes
Instruction
- kubes ls <subjects>
This command render the form with color, and track STATUS column. If the status is not in [Running, Active], it will be marked by red.
Usage
kubes.py [-h] {ls,cx,log,image,cp,run,describe} ...
optional arguments:
-h, --help show this help message and exit
subcommands:
List Subjects
{ls,cx,log,image,cp,run,describe}
ls List Subject [default value: pods]
cx List namespaces or switch the context to one of them
log Show logs
image Get image info
cp Download file or directory
run Execute pod with command default: bash
describe Describe Subject [default value: pods]
Update Logs
| # | date | version |
|---|---|---|
| 7 | 2021/12/24 | v1.2.0 |
| 6 | 2021/11/26 | v1.1.0 |
| 5 | 2021/05/17 | v1.0.1 |
| 4 | 2021/05/16 | v1.0.0 |
| 3 | 2021/05/15 | v0.1.0 |
| 2 | 2021/05/13 | v0.0.6 |
| 1 | 2021/05/13 | v0.0.1 |
1.2.0
- Add shortcut for get image info
- Add describe subjects
- Update
lsmethod- format
sevicesfor ingress purpose - format Non-sevices as json if pods was specified
- format
1.1.0
- Use full pod name to check pods instead of name without hash
1.0.1
- Removed detect command timeout in 10 seconds to avoid copy files overtime
1.0.0
- First release version
- Update README.md
0.1.0
- Restructure arguments by group
0.0.6
- Add streaming arguments and add tail numbers for pods logs
- Dye the pods status if it shows not Running
If you like my work, please consider buying me a coffee or PayPal
Thanks for your support! Cheers! 🎉
Metadata
Release files for kubes 1.2.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 | Provenance | Actions |
|---|---|---|---|---|
| kubes-1.2.0.tar.gz | 6.4 kB | Without provenance | Details for kubes-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kubes-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for kubes-1.2.0-py3-none-any.whl |
Total release size: 13.1 kB
Release files / kubes-1.2.0.tar.gz
| Download URL | kubes-1.2.0.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
520dfbff73391a2ba43f8656bb17ca41f1b6819bba53c1b8d1abffdf17d1f135
|
|
BLAKE2b-256 checksum How to use checksums |
c37353f13cccaaee71cad2e4db1c1e19f5c030742f077aaf096cb252fd21dedc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / kubes-1.2.0-py3-none-any.whl
| Download URL | kubes-1.2.0-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
21c1916ceb05401bd75bda4f3d5a393f1c248de9b70d80cd89bff7d76bcf3f02
|
|
BLAKE2b-256 checksum How to use checksums |
f228922f2c21293c2b97124fb6a0e6a81125a9b601bd8778559b1a3bc6d3e854
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Security for kubes 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.