Skip to main content

Overview

The Kubernetes tools enable IncidentFox to troubleshoot pods, deployments, and services in your clusters.

Configuration

Available Tools

get_pod_logs

Fetch logs from a pod. Parameters: Example:
Response:

describe_pod

Get pod status and configuration. Parameters: Example:
Response:

list_pods

List pods in a namespace with status. Parameters: Example:

get_pod_events

Get Kubernetes events for a pod or namespace. Parameters: Example:
Response:

describe_deployment

Get deployment status and configuration. Parameters: Example:

get_deployment_history

View rollout history. Parameters: Example:

describe_service

Get service details and endpoints. Parameters:

get_pod_resource_usage

Get CPU/memory usage for pods. Parameters:
Requires metrics-server installed in the cluster.
Example:
Response:

docker_exec

Execute commands in containers. Parameters:
This tool may be disabled by default for security. Enable only if needed.

Use Cases

Investigating Pod Crashes

IncidentFox will:
  1. list_pods - Check pod status
  2. get_pod_events - Find crash reasons
  3. get_pod_logs - Read logs before crash
  4. describe_pod - Check configuration

Checking Resource Issues

IncidentFox will:
  1. get_pod_resource_usage - Current usage
  2. get_pod_events - OOMKilled events
  3. describe_deployment - Configured limits

Verifying Deployments

IncidentFox will:
  1. describe_deployment - Check status
  2. get_deployment_history - Recent rollouts
  3. list_pods - Pod status

Required RBAC

Next Steps

AWS Tools

AWS infrastructure tools

Data Sources

Full K8s setup guide