feat: kata container feature to enable kata integration#2917
feat: kata container feature to enable kata integration#2917TheRayquaza wants to merge 2 commits intomainfrom
Conversation
Signed-off-by: Mateo Lelong <mateo.lelong@datadoghq.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2917 +/- ##
==========================================
+ Coverage 40.08% 40.97% +0.88%
==========================================
Files 320 322 +2
Lines 28075 28952 +877
==========================================
+ Hits 11254 11863 +609
- Misses 16012 16252 +240
- Partials 809 837 +28
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 15 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
🛑 Gate Violations
ℹ️ Info🎯 Code Coverage (details) Useful? React with 👍 / 👎 This comment will be updated automatically if new data arrives.🔗 Commit SHA: 26b6285 | Docs | Datadog PR Page | Give us feedback! |
Signed-off-by: Mateo Lelong <mateo.lelong@datadoghq.com>
What does this PR do?
Adds a KataContainers feature to the Datadog Operator. When enabled, mounts
/run/vc/sbsand/run/katahost paths into the core Agent container so the Agent can monitor Kata-containerized workloads.Motivation
Kata Containers use a dedicated runtime that keeps container metadata outside the standard container paths. Without these mounts the Agent can't inspect Kata workload activity on the node.
Additional Notes
DatadogAgentSpec.Features.KataContainers.Enabledfield (API + generated CRD manifests updated).Minimum Agent Versions
7.79 - DataDog/datadog-agent#47816
Describe your test plan
features.kataContainers.enabled: true on a DatadogAgent CR./host/run/vc/sbsand/host/run/katavolume mounts.go test ./internal/controller/datadogagent/feature/katacontainers/...