Set up Kubernetes Troubleshooting Agent

  • Latest Dynatrace
  • How-to guide
  • 2-min read
  • Published Jan 28, 2026
  • Preview

The Kubernetes Troubleshooting Agent performs comprehensive analysis of active issues to help make troubleshooting faster.

Using Dynatrace Intelligence and out-of-the-box alerts, the Kubernetes Troubleshooting Agent:

  • Correlates relevant signals such as metrics, events, and logs
  • Summarizes key findings
  • Creates a pull request with the remediation steps
  • Recommends remediation steps

Prerequisites

To use the Kubernetes Troubleshooting Agent, you must deploy a workflow that is included in the product as a preconfigured workflow template. For details, see Agentic workflows (Preview).

Get started

To set up the agent

  1. Go to Workflows Workflows and select Add Workflow.

  2. From the Create workflow from template list that opens, select Kubernetes Troubleshooting Agent.

  3. Install all the required apps (as needed), define the connections, and select Create workflow.

  4. Optional To configure the JSON workflow input, select and scroll down to the Workflow input and result and Default input sections.

    • Update the generateRecommendation parameter value to true to automatically enrich any Kubernetes problem with the output from the agent, or to false to stop the agent output. The default value is true.

    • Update the generatePullRequest parameter value to true to extract the YAML from the agent's suggestions and create a pull request with the changes, or to false to disable this functionality. The default value is false.

      To enable this functionality, the create_pull_request_1 step must be properly configured in your Git repository.

      Setup for the Kubernetes Troubleshooting Agent in Workflows to trigger a diagnostic process for every new Kubernetes issue.

  5. Test the workflow with a manual run by selecting Run.

If the test works as expected, no additional action is needed. The workflow will integrate AI-driven diagnostics into your Kubernetes environment and displays results in Problems app - new Problems.

Options for the Kubernetes Troubleshooting Agent displayed in the Problem card.

Related tags
Infrastructure ObservabilityKubernetes (new)KubernetesDynatrace AIGenerative AI for Workflows