Add agent.updateStrategy for the agent DaemonSet

Open
#372 3 comments 0 reactions 1 assignee View on GitHub

@buixor is already working on this.

Since Oct 27, 2026.

Assessment

This issue has not been assessed yet.

Description

kind/enhancement needs/triage

The lapi, appsec and agent Deployment (agent.isDeployment: true) all have a configurable strategy. The agent DaemonSet doesn't, so it always uses the default RollingUpdate with maxUnavailable: 1.

On larger clusters, rolling out one agent pod at a time is slow. That's often unnecessary because agents only parse logs and can safely restart together.

Would it be possible to add an agent.updateStrategy value to templates/agent-daemonSet.yaml? For example:

  spec:
    {{- with .Values.agent.updateStrategy }}
    updateStrategy: {{- toYaml . | nindent 4 }}
    {{- end }}

That would allow:

  agent:
    updateStrategy:
      type: RollingUpdate
      rollingUpdate:
        maxUnavailable: 100%
Dominant language
Shell
Stars
63
Forks
72
Avg merge
6m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from crowdsecurity/helm-charts

All issues in crowdsecurity/helm-charts

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.