Skip to main content

CLI for Kubernetes that simplifies usage of kubectl

Project description

PyPI version Python versions License

Command line interface for Kubernetes that simplifies usage of kubectl.

Installation

pip install kube-cli

Requirements

  • python 3.6 or higher

  • kubectl

  • kubectl config file in ~/.kube/config

How to use

# show all commands
kube help

# List all namespaces / pods
kube all ns
kube all pods

# Find namespace / pod
kube find ns <query>
kube find pod <query>

# List of pods in namespace
kube <namespace>
kube <namespace> pods

# Operations with pod
kube <namespace> <pod> logs
kube <namespace> <pod> bash

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-cli-0.0.5.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

kube_cli-0.0.5-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

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