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.5.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for kube_debug_pod-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76ce13e88bb345ac62aeef72d3ec7426a3ba6e8c1ddb2ec586a5bf7f93c9df3d |
|
MD5 | f549914afc2d3b78058b0a31e3dcf271 |
|
BLAKE2b-256 | 61a3597534103598ba57aa7fecc35efa4e5c6cddcaa962a132e324b1ffa1feac |