k8s-logs

Community

Fetch Kubernetes pod logs

Authorjimweller
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies the process of retrieving logs from Kubernetes pods across different clusters, making debugging and monitoring more efficient.

Core Features & Use Cases

  • Multi-cluster Support: Connects to and fetches logs from various Kubernetes clusters (EKS, AKS).
  • Targeted Log Retrieval: Allows filtering logs by cluster, namespace, and pod query patterns.
  • Log Options: Supports filtering logs by time (--since), number of lines (--tail), container name, and includes options for timestamps and previous log instances.
  • Use Case: Quickly find error messages in a specific application pod across multiple development environments.

Quick Start

Fetch the last 5 minutes of logs for pods matching 'api-*' in the 'default' namespace of the 'mathom-primary-cluster'.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: k8s-logs
Download link: https://github.com/jimweller/davit-dataops-dotfiles/archive/main.zip#k8s-logs

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.