Skip to main content
OpenSRE connects to Kubernetes using a standard kubeconfig. Works with any cluster — GKE, AKS, EKS, on-prem, kind, or minikube — without requiring AWS credentials or cloud-specific tooling.

Prerequisites

  • A kubeconfig file (typically ~/.kube/config) or its raw YAML content
  • Read access to the namespaces you want to investigate (get/list on pods, deployments, events, logs)

Setup

Option 1: Interactive CLI

The wizard will ask for:
  1. kubeconfig — paste the raw kubeconfig YAML, or provide a file path that will be read and stored inline
  2. Context — optional; leave blank to use the kubeconfig’s current context
  3. Default namespace — defaults to default

Option 2: Environment variables

Option 3: Verify connectivity

A successful verification lists the namespaces visible to the configured credentials.

Available tools

Configuration reference

Example: investigating a crash-looping pod

OpenSRE will:
  1. Call kubernetes_list_pods scoped to production to find pods with high restart counts
  2. Call kubernetes_get_pod_logs to read recent container output
  3. Call kubernetes_get_events with involvedObject.name=payments-api to surface Warning events
  4. Correlate the evidence into a root-cause summary

Permissions

The kubeconfig’s service account or user needs these Kubernetes RBAC permissions: