Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page