Skip to content

Add detection for Talos provider - #3410

Merged
levan-m merged 3 commits into
mainfrom
levan-m/talos-provider-detection
Sep 15, 2026
Merged

levan-m merged 3 commits into
mainfrom
levan-m/talos-provider-detection

Conversation

@levan-m

@levan-m levan-m commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

CONTP-2028

Add automatic detection of Talos provider added in #3406. Detection is based on node status.nodeInfo.osImage value and assumes Talos Kubernetes clusters consist of uniformly Talos nodes.

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

Minimum Agent Versions

Are there minimum versions of the Datadog Agent and/or Cluster Agent required?

  • Agent: vX.Y.Z
  • Cluster Agent: vX.Y.Z

Describe your test plan

Same as #3406 but apply DDA without provider annotation.

Checklist

  • PR has at least one valid label: bug, enhancement, refactoring, documentation, tooling, and/or dependencies
  • PR has a milestone or the qa/skip-qa label
  • All commits are signed (see: signing commits)

@levan-m
levan-m requested a review from a team as a code owner August 28, 2026 20:03

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2c58385e4e

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread docs/providers.md Outdated
| `gke-autopilot` | Cluster (DDA) | Annotation only | Full GKE Autopilot workload adaptation (volume, env var, path, image, and PriorityClass changes). See [Datadog Operator on GKE Autopilot][3] | `providers.gke.autopilot` |
| `windows` | Node (DAP) | Annotation only | Builds a Windows-compatible node Agent DaemonSet on the targeted Windows nodes: Linux-only containers, mounts, and security context are stripped, and a Windows base image and init config are applied. Available in Operator v1.30.0+ | None |
| `talos` | Cluster (DDA)[^talos-scope] | Annotation only | Drops host volumes that don't exist on Talos Linux nodes: `/usr/src` and `/lib/modules` (OOM Kill, TCP Queue Length), and `/etc/passwd`/`/etc/group` (Live Process Collection, Process Discovery, CWS, CSPM) | `providers.talos.enabled` |
| `talos` | Cluster (DDA)[^talos-scope] | Detection or annotation | Drops host volumes that don't exist on Talos Linux nodes: `/usr/src` and `/lib/modules` (OOM Kill, TCP Queue Length), and `/etc/passwd`/`/etc/group` (Live Process Collection, Process Discovery, CWS, CSPM) | `providers.talos.enabled` |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add Talos to the automatic-detection catalog

This row now advertises Talos detection, but the earlier “Automatic detection” section still says detection uses only node labels and its provider table omits Talos and status.nodeInfo.osImage. Consequently, users following the detection documentation can conclude that a Talos node resolves to default, despite the new behavior automatically applying Talos-specific volume removals. Update that section to document the OS-image signal and Talos result.

Useful? React with 👍 / 👎.

@datadog-official

This comment has been minimized.

@tbavelier tbavelier added this to the v1.31.0 milestone Sep 8, 2026
@tbavelier tbavelier added the enhancement New feature or request label Sep 8, 2026

@tbavelier tbavelier left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥
nit: providers.md can slightly be updated to mention we look at node info (labels, system info, etc.), not only labels to determine the cluster provider ? what codex mentioned already below

Base automatically changed from levan-m/talos-provider-support to main September 12, 2026 09:12
@levan-m
levan-m requested review from a team as code owners September 12, 2026 09:12

@datadog-official datadog-official Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Datadog Autotest: PASS

More details

The Talos node image check keeps label-based provider detection as its fallback. The capability checks remove only the host mounts that Talos does not provide.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Datadog Autotest · Commit 5d010be · What is Autotest? · @DataDog review to ask questions · Any feedback? Reach out in #autotest

@levan-m
levan-m force-pushed the levan-m/talos-provider-detection branch from 5d010be to f308d42 Compare September 14, 2026 17:25
@levan-m
levan-m merged commit c38351c into main Sep 15, 2026
39 checks passed
@levan-m
levan-m deleted the levan-m/talos-provider-detection branch September 15, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants