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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for kube-cli-0.0.7.tar.gz
Algorithm Hash digest
SHA256 088b1feaa08386c71536a91388b165740507f6c10f411198fed2d47f92226da4
MD5 2f466d45ebfac0aa67297fd3281f4960
BLAKE2b-256 093a5de412e15f43a6622d4a1b4d9bd4361c0237d17020d2a04d536dcecf7fe5

See more details on using hashes here.

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

Hashes for kube_cli-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ca44aa93652f3e853df4a5cc8fbf6f04a16eaf0adc039d3ee8ff5d8f09f1826e
MD5 885514b75a78dfdf058d26777fd82d19
BLAKE2b-256 65f8e2a8aa74fbd0b831c7df67f7202bf7a2303f842fce3ebe3951d97a11ec49

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page