Skip to content

feat: split daemonset resources into full/sensor profiles selected by… - #49

Merged
ranberant merged 1 commit into
masterfrom
feat/sensor-mode-resources
May 27, 2026
Merged

ranberant merged 1 commit into
masterfrom
feat/sensor-mode-resources

Conversation

@ranberant

Copy link
Copy Markdown
Collaborator

… agent.sensorMode

When agent.sensorMode is true, the agent runs as a lightweight cloud-native sensor and needs a different resource footprint than the full agent.

Changes:

  • values.yaml: daemonset.resources is now a map with two named profiles, 'full' (default) and 'sensor', each with their own limits/requests.
  • _helpers.tpl: add cortex-xdr.daemonsetResources helper that picks the correct profile based on .Values.agent.sensorMode.
  • daemonset.yaml: use the new helper instead of a hard-coded toYaml call.
  • Chart.yaml: bump chart version 1.9.0 -> 1.10.0.
  • README.md: document the new resources.full / resources.sensor keys and add a migration note for users with existing resources.* overrides.

Description

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes if appropriate.
  • All new and existing tests passed.

… agent.sensorMode

When agent.sensorMode is true, the agent runs as a lightweight cloud-native
sensor and needs a different resource footprint than the full agent.

Changes:
- values.yaml: daemonset.resources is now a map with two named profiles,
  'full' (default) and 'sensor', each with their own limits/requests.
- _helpers.tpl: add cortex-xdr.daemonsetResources helper that picks the
  correct profile based on .Values.agent.sensorMode.
- daemonset.yaml: use the new helper instead of a hard-coded toYaml call.
- Chart.yaml: bump chart version 1.9.0 -> 1.10.0.
- README.md: document the new resources.full / resources.sensor keys and
  add a migration note for users with existing resources.* overrides.
@ranberant
ranberant merged commit 8b65fe2 into master May 27, 2026
2 checks passed
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.

1 participant