Skip to main content

k8s-debug-tool

CLI helper for DevOps: list pods in a Kubernetes namespace and highlight common problem states (failed phase, CrashLoopBackOff, terminated with messages).

Requires a valid kubeconfig (or in-cluster credentials when run inside a pod).

Install

pip install k8s-debug-tool

Usage

k8s-debug --namespace default
k8s-debug -n kube-system

Build and publish (maintainers)

From this directory (k8s-debug-tool/):

python -m pip install --upgrade build twine
python -m build
python -m twine upload dist/*

Use an API token as the password when twine prompts you.

Before the first upload, create the project on PyPI (or use twine with a token that has upload scope). If the name k8s-debug-tool is taken, change name in pyproject.toml and pick a unique name on PyPI.

License

MIT — see LICENSE.

Metadata

Release files for k8s-debug-tool 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for k8s-debug-tool 0.2.1
File Size Uploaded
k8s_debug_tool-0.2.1.tar.gz 7.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for k8s-debug-tool 0.2.1
File Interpreter ABI Platform
k8s_debug_tool-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.6 kB

Release files / k8s_debug_tool-0.2.1.tar.gz

Download URL k8s_debug_tool-0.2.1.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d9c5b610e93567eb797e911bc8621c6799bfda1075304d2c8215ee2a0a3ad257
BLAKE2b-256 checksum
How to use checksums
109ecf013f7207e174c9818fce44603d8ea4c6ab97c7332fa4d7a3bf40e2c93a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / k8s_debug_tool-0.2.1-py3-none-any.whl

Download URL k8s_debug_tool-0.2.1-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bcc63edfcffcbc9b9884d549bb50845b05855824c0c326b61a2052fea9eaea68
BLAKE2b-256 checksum
How to use checksums
6eb772f0866101fc6f26487a0de61086d12cb129729897e4ad01972a354fa7ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page