Skip to main content

kubeshell is a command line tool to interactively shell in to (and out of) kubernetes pods.

~$ kubeshell
 Pick your pod:
    NAME                                                              READY   STATUS             RESTARTS   AGE

 => some-pod-7f9b5f475wdcmv                                           1/1     Running            0          26h
    some-other-pod-556p4cfw                                           0/1     CrashLoopBackOff   83         7h10m
    yet-another-pod-589cf77568-rjzkv                                  0/1     Running            82         7h4m
    exit

Install

You can install from pypi as follows

$ pip install kubeshell

OR, clone the repo

$ git clone https://github.com/roubles/kubeshell
$ cd kubeshell
$ python setup.py install

Usage

usage: kubeshell [-h] [-s SHELL] [-n NAMESPACE] [substring]

interactively shell into k8s pods

positional arguments:
  substring             substring to filter pods

optional arguments:
  -h, --help            show this help message and exit
  -s SHELL, --shell SHELL
                        Which shell to use
  -n NAMESPACE, --namespace NAMESPACE
                        Which namespace to use

Release files for kubeshell 1.1.6

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

Source distribution (sdist)

Source distribution for kubeshell 1.1.6
File Size Uploaded
kubeshell-1.1.6.tar.gz 3.0 kB Details

Release files / kubeshell-1.1.6.tar.gz

Download URL kubeshell-1.1.6.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
52cfae7a9e4c97a335bcea2a4640a9820fc1d9d8a191430dd4195f67590485c4
BLAKE2b-256 checksum
How to use checksums
76dd93d81dda40d796b07971d8e31b11040d733683e6eeb42fd319f8de4e48ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.4

Release history Release notifications | RSS feed

This release

1.1.6 This release

1 release file

1.1.5

3 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