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 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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kube-cli-0.0.7.tar.gz.
File metadata
- Download URL: kube-cli-0.0.7.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
088b1feaa08386c71536a91388b165740507f6c10f411198fed2d47f92226da4
|
|
| MD5 |
2f466d45ebfac0aa67297fd3281f4960
|
|
| BLAKE2b-256 |
093a5de412e15f43a6622d4a1b4d9bd4361c0237d17020d2a04d536dcecf7fe5
|
File details
Details for the file kube_cli-0.0.7-py3-none-any.whl.
File metadata
- Download URL: kube_cli-0.0.7-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca44aa93652f3e853df4a5cc8fbf6f04a16eaf0adc039d3ee8ff5d8f09f1826e
|
|
| MD5 |
885514b75a78dfdf058d26777fd82d19
|
|
| BLAKE2b-256 |
65f8e2a8aa74fbd0b831c7df67f7202bf7a2303f842fce3ebe3951d97a11ec49
|