Metadata-Version: 2.4
Name: k8s-debug-tool
Version: 0.2.1
Summary: CLI to inspect Kubernetes pods and common failure states in a namespace.
Author: Sanket Gawali
License-Expression: MIT
Project-URL: Homepage, https://pypi.org/project/k8s-debug-tool/
Keywords: kubernetes,k8s,debug,cli,pods,devops
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: System :: Systems Administration
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: kubernetes>=27.0.0
Dynamic: license-file

# 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

```bash
pip install k8s-debug-tool
```

## Usage

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

## Build and publish (maintainers)

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

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

Use an [API token](https://pypi.org/help/#apitoken) as the password when `twine` prompts you.

Before the first upload, create the project on [PyPI](https://pypi.org/) (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`.
