Skip to content

Ciexe/enable pod level resources#4032

Draft
ronangaret wants to merge 4 commits into
masterfrom
ciexe/enable-pod-level-resources
Draft

Ciexe/enable pod level resources#4032
ronangaret wants to merge 4 commits into
masterfrom
ciexe/enable-pod-level-resources

Conversation

@ronangaret

Copy link
Copy Markdown

Description

Reviewer checklist

  • Test coverage seems ok.
  • Appropriate labels assigned.

henryvo117 and others added 4 commits July 6, 2026 10:35
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
KUBERNETES_SERVICE_* vars no longer apply when pod-level resources are
enabled. Add each service container's resource footprint to the
KUBERNETES_POD_* values for every job that runs sidecars.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… constraints

With ci.gitlab-runner.enable-pod-level-resources on, Kubernetes validates:
  pod_request >= sum(container_requests) and pod_limit >= each container_limit

Runner global defaults per service (no explicit KUBERNETES_SERVICE_*):
  request=2Gi, limit=6Gi  |  dind sidecar: request=50Gi, limit=50Gi

Changes:
- appsec dind jobs: 24-30Gi → 52Gi (covers 50Gi dind sidecar + helper)
- ASAN / test_extension_ci / xDebug (3 services): 5-6Gi → 7-9Gi
- PHP Language Tests ≥7.4: 8Gi → 10Gi (OOMKill headroom for helper+test-agent)
- PHP Language Tests <7.4: 5Gi → 6Gi (pod_limit ≥ 6Gi service limit)
- .cli_integration_test (3-4 services): 6Gi → 9Gi; loop adds 2Gi for web (mysql)
- test_auto_instrumentation/composer/integration/distributed_tracing: 7Gi → 9Gi
- .verify_job: pod_limit 5Gi → 6Gi (request-replayer has 6Gi limit)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pod spec validation failures (dind sidecar ~50Gi container request means
pod_request must be >= 50Gi):
- generate-appsec.php: bump all dind job MEMORY_REQUEST from 24/8Gi → 52Gi
- generate-package.php: bump installer tests, framework test, system tests,
  randomized tests MEMORY_REQUEST/LIMIT from 2-30Gi → 52Gi

OOMKill fixes:
- generate-tracer.php: PHP Language Tests >=7.4 static-CPU 10Gi → 12Gi
  (helper container OOMKilled sharing the pod budget)
- generate-profiler.php: clippy/cargo/PHP language tests 3Gi → 5Gi

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@datadog-prod-us1-4

datadog-prod-us1-4 Bot commented Jul 6, 2026

Copy link
Copy Markdown

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 1114 Pipeline jobs failed

DataDog/apm-reliability/dd-trace-php | merge-gate   View in Datadog   GitLab

DataDog/apm-reliability/dd-trace-php | PHP Language Tests: [8.1]   View in Datadog   GitLab

DataDog/apm-reliability/dd-trace-php | PHP Language Tests: [8.3]   View in Datadog   GitLab

View all 1114 failed jobs.

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

🔄 Datadog auto-retried 72 jobs - 47 passed on retry View in Datadog

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 54.08% (-0.05%)

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 4f98cf1 | Docs | Datadog PR Page | Give us feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants