Run Velero discovery E2E with the Kubernetes Agent backend - #24645
Draft
nubtron wants to merge 1 commit into
Draft
Run Velero discovery E2E with the Kubernetes Agent backend#24645nubtron wants to merge 1 commit into
nubtron wants to merge 1 commit into
Conversation
3 tasks
🎉 All green!🧪 All tests passed 🎯 Code Coverage (details) 🔗 Commit SHA: a448d7e | Docs | View more details | Give us feedback! |
3 tasks
nubtron
force-pushed
the
nubtron/velero-kubernetes-agent-e2e
branch
from
July 22, 2026 12:45
302f9d5 to
45a59e0
Compare
nubtron
changed the base branch from
nubtron/kubernetes-agent-interface-e2e
to
nubtron/kuma-kubernetes-agent-e2e
July 22, 2026 12:45
nubtron
force-pushed
the
nubtron/velero-kubernetes-agent-e2e
branch
from
July 22, 2026 12:52
45a59e0 to
fefe824
Compare
nubtron
changed the base branch from
nubtron/kuma-kubernetes-agent-e2e
to
nubtron/kubernetes-agent-interface-e2e
July 22, 2026 12:52
3 tasks
nubtron
force-pushed
the
nubtron/velero-kubernetes-agent-e2e
branch
3 times, most recently
from
July 30, 2026 13:30
3676060 to
b9bcac0
Compare
nubtron
force-pushed
the
nubtron/kubernetes-agent-interface-e2e
branch
from
August 10, 2026 09:28
2a64043 to
f21cf4c
Compare
nubtron
force-pushed
the
nubtron/velero-kubernetes-agent-e2e
branch
from
August 10, 2026 09:34
7301542 to
16512f5
Compare
Base automatically changed from
nubtron/kubernetes-agent-interface-e2e
to
master
August 10, 2026 17:43
This was referenced Aug 11, 2026
nubtron
force-pushed
the
nubtron/velero-kubernetes-agent-e2e
branch
from
August 18, 2026 10:33
16512f5 to
a448d7e
Compare
Contributor
Validation ReportAll 21 validations passed. Show details
|
This was referenced Aug 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Stacks directly on #24639 and migrates Velero's static and discovery E2E coverage to the in-cluster
KubernetesAgentbackend.The discovery test uses real Kubernetes container metadata and named ports, requires two discovered instances, and validates real Velero metrics and health through the standard
dd_agent_check_discoverypath. A separate boilerplate-style candidate-stability test runs every generated configuration for both the Velero server and node-agent through the standarddd_agent_checkfixture and checks that the target pods remain healthy.This layer adds the generated-configuration support Velero needs without depending on an unreleased base package.
datadog_checks_devnow validates string-array inputs for local discovery strategies, and Velero provides a localfrom_named_portsstrategy that preserves requested name order, filters unmatched ports, and deduplicates port numbers. The generated module therefore relies only on discovery APIs available sincedatadog-checks-base>=37.41.0.Focused loader tests validate the local strategy schema, while a Velero behavioral test exercises the public
VeleroCheck.generate_configscontract and verifies named-port ordering and filtering.Motivation
This keeps the reusable Kubernetes Agent transport in #24639 independent from its integration consumers. The Kuma migration stacks on this layer in #24642. Velero demonstrates both static in-cluster checks and genuine Kubernetes Autodiscovery without introducing an integration-specific Agent lifecycle.
Validation
datadog-checks-base==37.41.0: 4 passed (3 E2E tests skipped outside an active environment)dd_agent_checkdd_agent_check_discoveryReview checklist (to be filled by reviewers)
qa/requiredif this PR needs QA validation, orqa/skip-qaif it does not. Exactly one of the two is required.backport/<branch-name>label to the PR and it will automatically open a backport PR once this one is merged