fleet
fleet copied to clipboard
fleetctl gitops -- batch query/policy updates
Fleet version: 4.46.0 Web browser and operating system:
💥 Actual behavior
With fleetctl gitops, sync is slow for updating >200 queries/policies -- the terminal appears stuck.
🧑💻 Steps to reproduce
Try to create/update 10,000 queries/policies with fleetctl gitops -- should add this as part of load testing Try to delete 10,000 queries/policies with fleetctl gitops
🕯️ More info (optional)
N/A
🛠️ To fix
- Batch query/policy updates -- print update for each batch
- Use async for deleting large numbers of queries/policies (same as we did for host deletion)