Skip to main content

CLI to inspect Kubernetes pods and common failure states in a namespace.

Project description

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.

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

k8s_debug_tool-0.2.1.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

k8s_debug_tool-0.2.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file k8s_debug_tool-0.2.1.tar.gz.

File metadata

  • Download URL: k8s_debug_tool-0.2.1.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for k8s_debug_tool-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d9c5b610e93567eb797e911bc8621c6799bfda1075304d2c8215ee2a0a3ad257
MD5 9a5e8c7da16f97795d4d8b96d7b126ac
BLAKE2b-256 109ecf013f7207e174c9818fce44603d8ea4c6ab97c7332fa4d7a3bf40e2c93a

See more details on using hashes here.

File details

Details for the file k8s_debug_tool-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: k8s_debug_tool-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for k8s_debug_tool-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bcc63edfcffcbc9b9884d549bb50845b05855824c0c326b61a2052fea9eaea68
MD5 7a49dddf9537544d353d8cb33b2b2ec5
BLAKE2b-256 6eb772f0866101fc6f26487a0de61086d12cb129729897e4ad01972a354fa7ea

See more details on using hashes here.

Supported by

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