Skip to main content

A kubectl plugin for viewing Kubernetes events

Project description

kge-kubectl-get-events - Kubernetes Events Viewer

A kubectl plugin for viewing Kubernetes events in a user-friendly way.

Installation

pip install kge-kubectl-get-events

Usage

View events for all pods in current namespace

kge -A

View events for a specific pod

kge <pod-name>

Interactive mode

kge

This will show a menu of all pods in the current namespace, allowing you to select which pod's events to view.

Shell completion

The tool supports shell completion for pod names. To use it, add the following to your shell configuration:

For zsh:

compdef _kge kge
_kge() {
    local -a pods
    pods=($(kge --complete))
    _describe 'pods' pods
}

Features

  • View events for all pods in a namespace
  • View events for a specific pod
  • Interactive pod selection
  • Shell completion support
  • Automatic namespace detection
  • Caching for better performance

Requirements

  • Python 3.6 or higher
  • Kubernetes Python client
  • kubectl configured with access to a Kubernetes cluster

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

kge_kubectl_get_events-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kge_kubectl_get_events-0.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file kge_kubectl_get_events-0.1.0.tar.gz.

File metadata

  • Download URL: kge_kubectl_get_events-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for kge_kubectl_get_events-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3688db8f59aa97e92c32f978de0ae7f752e910a2093e2206ee85285758bc74b8
MD5 26dc51a454e98246b25ddbc33e87a012
BLAKE2b-256 3cf29405a2f105c9208e72ea0a96e1b594ab95597c86cb9988243784da937b36

See more details on using hashes here.

File details

Details for the file kge_kubectl_get_events-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for kge_kubectl_get_events-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6048bddc05d78669ec839ff6098cad8d0b53c2d143d711ecbf449103e013b82b
MD5 07ca2a0a938a5d0777a10147fbdba5dc
BLAKE2b-256 50116f5ccbbeb74677266bf492e0c9f66cfc1b1be6c31620aa6b58ca0291cff9

See more details on using hashes here.

Supported by

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