Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Target Agent Upgrades to Canary Team only for new agent versions #26886

Open
nv-mikeelliott opened this issue Mar 5, 2025 · 0 comments
Labels
customer-numa :product Product Design department (shows up on 🦢 Drafting board)

Comments

@nv-mikeelliott
Copy link

Goal

As the IT QA administrator at my company, responsible for testing updates and changes to end-user systems before wide release, I’d like to propose a method to withhold automatic agent (fleetd) updates to clients when the Fleet server is updated. This would allow me to selectively push the updated agent to a specific group (e.g., a "Canary Team") for testing, ensuring stability before it’s rolled out to the entire organization.

User Story

As an IT QA administrator:

  • I want to prevent all clients from automatically receiving an updated agent (fleetd) when the Fleet server is upgraded, so that untested changes don’t impact the entire organization unexpectedly.
  • I want to target the updated agent push to a designated group, such as a "Canary Team," so that I can test the new agent version in a controlled environment before approving it for broader deployment.
  • After successful testing, I want the ability to confidently trigger the rollout to all end-user systems.

Proposed Solution

  1. Withhold Agent Updates by Default: Add a server-side configuration option (e.g., in agent_options or a new setting) to disable automatic fleetd updates on server upgrade. For example, a global toggle like auto_update_agents: false in the config YAML would keep agents on their current version until explicitly updated.
  2. Targeted Update Mechanism: Enhance the existing update_channels functionality (ref: Remotely configure fleetd update channels in agent options #13825) to support targeting agent updates to specific teams or labels. For example:
    apiVersion: v1
    kind: team
    spec:
      name: Canary Team
      agent_options:
        update_channels:
          fleetd: <new_version>  # e.g., "4.42.0" or "edge"
        target_update: true      # New flag to trigger update for this team
@nv-mikeelliott nv-mikeelliott added the :product Product Design department (shows up on 🦢 Drafting board) label Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-numa :product Product Design department (shows up on 🦢 Drafting board)
Projects
None yet
Development

No branches or pull requests

2 participants