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 help
kube help

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

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

# Operations with namespace
kube <namespace>
kube <namespace> pods

# Scaling deployments
kube <namespace> scale
kube <namespace> scale <deployment>
kube <namespace> scale <deployment> <value>

# Operations with pod
kube <namespace> <pod> logs
kube <namespace> <pod> logs -f
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.

Files for kube-cli, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size kube_cli-0.0.7-py3-none-any.whl (7.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size kube-cli-0.0.7.tar.gz (6.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page