Skip to main content

terminal git log browser

Project description

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

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

kubeshell-1.1.6.tar.gz (3.0 kB view hashes)

Uploaded Source

Supported by

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