Skip to main content

Documentation Index

Fetch the complete documentation index at: https://dorguai.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Overview

The dorgu incidents command group lists and inspects IncidentMemory custom resources on your cluster. These resources are created by the Dorgu Operator when it detects anomalies such as OOMKills, crash loops, or resource constraint violations.

incidents list

Synopsis

dorgu incidents list [flags]
List IncidentMemory resources from the cluster. By default, only active incidents (not Resolved) are shown. Use --all to include resolved incidents.

Flags

FlagTypeDefaultDescription
-n, --namespacestringall namespacesFilter by namespace
--severitystringallFilter by severity: info, warning, critical
--categorystringallFilter by category (e.g. resource, security)
--phasestringallFilter by phase: Detected, Investigating, Resolved, Recurring
--allboolfalseInclude resolved incidents
--limitint50Maximum number of incidents to display
--kubeconfigstring~/.kube/configPath to kubeconfig file
--jsonboolfalseOutput as JSON (inherited global flag)

Examples

# List active incidents across all namespaces
dorgu incidents list

# Filter by severity
dorgu incidents list --severity critical

# Filter by namespace and phase
dorgu incidents list -n default --phase Detected

# Show all incidents including resolved, with a higher limit
dorgu incidents list --all --limit 100

# JSON output for scripting
dorgu incidents list --json

Output columns

ColumnDescription
NAMESPACENamespace of the IncidentMemory resource
NAMEResource name
SEVERITYinfo, warning, or critical
CATEGORYIncident category (e.g. resource, security)
SIGNALDetection signal (e.g. OOMKilled, CrashLoopBackOff)
PERSONAApplicationPersona the incident relates to
PHASEDetected, Investigating, Resolved, or Recurring
AGETime since the incident was created

incidents describe

Synopsis

dorgu incidents describe <name> -n <namespace> [flags]
Display detailed information about a specific IncidentMemory resource, including detection info, root cause analysis, affected resources, and timeline.

Flags

FlagTypeDefaultDescription
-n, --namespacestringrequiredNamespace of the incident
--kubeconfigstring~/.kube/configPath to kubeconfig file
--jsonboolfalseOutput as JSON (inherited global flag)

Examples

# Describe a specific incident
dorgu incidents describe im-default-api-oom-a3f2 -n default

# JSON output
dorgu incidents describe im-default-api-oom-a3f2 -n default --json

Output sections

SectionDescription
Phase / Severity / CategoryCurrent incident status and classification
SignalThe detection signal that triggered the incident
PersonaThe ApplicationPersona reference (kind, name, namespace)
DetectionSource, first seen, last seen timestamps
Affected ResourcesKubernetes resources involved (kind, name, namespace)
Root CauseLLM-generated analysis with confidence score and contributing signals
ResolutionAction taken, outcome, and timestamp (if resolved)
OccurrencesTotal number of times this incident has been detected
Requires the Dorgu Operator to be installed on the cluster. If the IncidentMemory CRD is not registered, the command will report an error with installation instructions.