fleet icon indicating copy to clipboard operation
fleet copied to clipboard

fleetctl gitops -- batch query/policy updates

Open getvictor opened this issue 1 year ago • 0 comments

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)

getvictor avatar Feb 29 '24 15:02 getvictor