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.

Source Distribution

kube-cli-0.0.7.tar.gz (6.7 kB view hashes)

Uploaded source

Built Distribution

kube_cli-0.0.7-py3-none-any.whl (7.5 kB view hashes)

Uploaded py3

Supported by

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