Skip to main content

Overview

Kubernetes integration enables IncidentFox to:
  • Fetch pod logs and events
  • Describe deployments, services, and pods
  • Check resource usage
  • Execute commands in containers (if permitted)

Prerequisites

  • Kubernetes cluster access
  • kubeconfig file or in-cluster configuration
  • RBAC permissions for IncidentFox service account

Configuration

Step 1: Create Service Account

Create a service account with read permissions:

Step 2: Add to IncidentFox

Via Configuration:

Available Tools

get_pod_logs

Fetch logs from pods.
Parameters:
  • pod_name - Pod name or pattern
  • namespace - Namespace
  • container - Container name (optional)
  • tail_lines - Number of lines
  • since - Time duration (e.g., “1h”)

describe_pod

Get pod details and status.

list_pods

List pods with status.

get_pod_events

Get Kubernetes events for pods.

describe_deployment

Get deployment status and replicas.

get_pod_resource_usage

Check CPU and memory usage.
Requires metrics-server installed in the cluster.

Use Cases

Pod Crash Investigation

Deployment Rollout Issues

Next Steps

AWS

Connect AWS

Tools Catalog

See all K8s tools