CLI to easily create k8s debug pod.
Project description
kube-debug-pod
CLI for easy kube debug pod
Install:
python -m pip install kube-debug-pod
Usage:
kdb [OPTIONS]
Options:
-n, --namespace TEXT Namespace to start pod in, default: default.
-c, --command TEXT Command to run in container, default: /bin/bash.
-m, --pod-name TEXT The name for the debug pod, default: kdb.
-t, --timeout TEXT Time to wait for pod to be ready, default: 60s.
-p, --port-forward TEXT Forward a port to the container, like 8000:8000.
-v, --version Display version info and exit.
-a, --arch-linux Use archlinux:latest image.
-s, --sky-tools Use skymoore/tools:latest image.
-i, --image TEXT Image for debug container, default: debian:latest.
--help Show this message and exit.
Constraints:
{--arch-linux, --sky-tools, --image}
mutually exclusive
Example Usage 1:
kdb -s -n myns -p 8000:8000 -m mypod
Example Usage 2:
kdb -n myns
Example Usage 3:
kdb
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
kube-debug-pod-0.0.7.tar.gz
(4.0 kB
view details)
Built Distribution
File details
Details for the file kube-debug-pod-0.0.7.tar.gz
.
File metadata
- Download URL: kube-debug-pod-0.0.7.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27c885d82869a1ccfec266f1ff9e02920acefcc968975ae0294da57fc6a7ae10 |
|
MD5 | 8a4728a5a513886602cefda5de8dd428 |
|
BLAKE2b-256 | b3fdad9529f7c9aaa467b3e00eb5148e5ced16bd14573d0b0e6c20e0e63e284a |
File details
Details for the file kube_debug_pod-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: kube_debug_pod-0.0.7-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be329dc87d11fc9bf3e1d9798e7c98721ec4d1063c4744f48df84baf8c87973c |
|
MD5 | c7197e3dd9572f2dcbf9c898212a3b31 |
|
BLAKE2b-256 | f896c42c42b5932a0e58b75d05237db7efeb126fab3a1ba3b1282067619c6be6 |