Skip to main content

Kubernetes utilities

Project description

Katie

A user-friendly kubectl wrapper for interacting with pods.

Usage

Commands

  • kubectl pods <selector> - list pods.
  • kubectl logs <selector> - show logs from first matching pod.
  • kubectl exec <selector> -- <command> - exec in first matching pod.

Selectors

Common labels are automatically aliased in selectors. If no pods match the original selector and the selector includes on of the labels on the left, katie will replace that label with the matching one on the right and try the search again.

  • name -> app.kubernetes.io/name
  • instance -> app.kubernetes.io/instance
  • version -> app.kubernetes.io/version
  • component -> app.kubernetes.io/component
  • part-of -> app.kubernetes.io/part-of
  • managed-by -> app.kubernetes.io/managed-by

Author

MIT Licence, (c) 2019 Sam Clements

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

katie-0.2.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

katie-0.2.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file katie-0.2.0.tar.gz.

File metadata

  • Download URL: katie-0.2.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for katie-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f7c7c55d96ad06a01248edb74e093f44af6bcd85c489f5a2d81b922726dfe833
MD5 38410b6855a650f17027a645864b0cd5
BLAKE2b-256 a6825cd3cb486b5813ca3949006646cd59653c1d5ed49bc2713e5bf99f5cefd5

See more details on using hashes here.

File details

Details for the file katie-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: katie-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

File hashes

Hashes for katie-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca3a045219911afa1671325a8f0d1f68b68e997a1ddac769d1c148d867355d29
MD5 8742acb035d1f6418cdaa8522359f8a7
BLAKE2b-256 13d76615c4c1734cd28594589c9ad241952efe05d09581495d780bcb09c03042

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