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:

source <(kge --completion=zsh)

Alternatively, you can add the completion script directly to your zsh configuration:

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.2.tar.gz (4.8 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.2-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kge_kubectl_get_events-0.1.2.tar.gz
  • Upload date:
  • Size: 4.8 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.2.tar.gz
Algorithm Hash digest
SHA256 7e58cd17c28cce768272899d9c366c8329c8b441d08a40c01afdf926f9041d8b
MD5 5cb6bc78f9dfc672445b8a7c4bb9eb54
BLAKE2b-256 e8141c22c9ccfeddbd1d217573cb94d1a8d07f10b29d99a0708481cf12b24ccf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kge_kubectl_get_events-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ce08a80f4ecb7bb8f1127c3f18b5c1013a2d93587e9ed753c17a29c9f8d42cac
MD5 74b1848ad83dc4f6c59dfc624ea23a3f
BLAKE2b-256 465bee6251239659202828821f6a39d5f3178c3a1e8cf2ae92cf12b812908c47

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