Skip to main content

Overview

Connect your on-premise or private Kubernetes clusters to IncidentFox SaaS without firewall changes. IncidentFox uses an outbound agent pattern to access your private Kubernetes clusters:
Key benefits:
  • No inbound firewall rules needed
  • Agent connects outbound to IncidentFox (port 443)
  • You control RBAC permissions via Helm values
  • Multiple clusters supported per team

Prerequisites

Before you start:
  • IncidentFox SaaS account with a team created
  • Kubernetes cluster (v1.24+)
  • kubectl configured and able to access your cluster
  • helm v3.x installed
  • Outbound HTTPS access to ui.incidentfox.ai (or your self-hosted gateway)

Setup

1

Generate API Key

  1. Log in to the IncidentFox dashboard
  2. Navigate to SettingsIntegrationsKubernetes
  3. Click “Add Cluster”
  4. Enter a Cluster Name (e.g., prod-us-east-1, staging)
  5. Click “Generate API Key”
  6. Copy the API key (starts with ixfx_k8s_) — you won’t see it again!
The API key authenticates your agent with IncidentFox. Each cluster needs its own key.
2

Add the Helm Repository

3

Install the Agent

Create a namespace and install the agent:
Configuration options:
4

Verify Connection

  1. Check agent pod is running:
You should see:
  1. Check agent logs for successful connection:
Look for:
  1. Verify in dashboard:
    • Go to SettingsIntegrationsKubernetes
    • Your cluster should show Status: Connected

Usage

Once connected, ask IncidentFox about your cluster:
If you have multiple clusters, specify which one:

RBAC Permissions

The agent uses a ClusterRole to access Kubernetes resources. By default, it has read-only access to:

Customizing RBAC

To restrict or expand permissions, use Helm values:
Apply with:

Managing Multiple Clusters

Add multiple clusters by repeating the setup for each:
  1. Generate a new API key for each cluster
  2. Install the agent with a unique release name:
In the dashboard, you’ll see all connected clusters and can query any of them.

Revoking Access

To disconnect a cluster:
  1. Uninstall the agent:
  1. Revoke the API key in the dashboard:
    • Go to SettingsIntegrationsKubernetes
    • Find the cluster and click “Revoke”
Revoking the key immediately disconnects the agent, even if it’s still running.

Troubleshooting

Agent not connecting

Check pod status:
Common issues: Check logs:

Connection drops frequently

The agent automatically reconnects with exponential backoff. Frequent disconnections may indicate:
  • Unstable network connection
  • Gateway maintenance (check status.incidentfox.ai)
  • Resource constraints on the agent pod
Check resource usage:
Increase resources if needed:

Permission denied errors

If IncidentFox reports permission errors when querying resources:
  1. Check the ClusterRole exists:
  1. Verify ClusterRoleBinding:
  1. Test permissions manually:

Security

Support

Next Steps

Kubernetes Tools

Learn about Kubernetes tool capabilities

Slack

Set up Slack bot

GitHub

Configure GitHub integration

Configuration

Customize agent behavior