Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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.

Files for katie, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size katie-0.2.0-py3-none-any.whl (4.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size katie-0.2.0.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View

Supported by

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