CLI for Kubernetes that simplifies usage of kubectl
Project description
Command line interface for Kubernetes that simplifies usage of kubectl.
Installation
pip install kube-cli
Requirements
python 3.6 or higher
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
Fuzzy search
Fuzzy search is a killing feature that allows to search namespaces and pods by short equivalents.
For example, following commands are equal:
kube 1234 redismetric logs
kube jira-1234 rd-jira-5103-redis-metrics-57dff4f8b7-5c49k logs
Project details
Release history Release notifications | RSS feed
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.6.tar.gz
(5.8 kB
view hashes)