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.1.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.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kge_kubectl_get_events-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 12a9155d68a1f668ba4a44d2b3c93e69f03db40e5dba43ea7b020d4df83e0f79
MD5 56092b5a895d58c67a20c7e18cb86641
BLAKE2b-256 2fdff2d5c6e759dc36be50f866792945b021f37b1b1394f3beb512b7b306a793

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kge_kubectl_get_events-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 817d0a3495fbc06e9428ce972c3f9e6c5c50e9df2cde3f4e4ddca1769e0666b3
MD5 c1340f7805da2980dc9d732c0d94b424
BLAKE2b-256 900139b09673a26d5293d9b4cb6bfaebf9020ab4c4120469ab1af9d90e6c075b

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