Open WillSewell opened 2 years ago
@jessesuen is there any reason to search by all the labels like in c.replicaSetLister.List(labels.Everything())
? If we filter the pods/analysisrun/... only for that rollout, it can be faster to return the results.
I agree. This would be more performant
I agree. This would be more performant
I can take a stab on this one.
This issue is stale because it has been open 60 days with no activity.
Summary
The running time of the
kubectl argo rollouts get
command is proportional to the number of Rollouts, ReplicaSets, Pods, Experiments, Analyses in the cluster. With a large number of these resources it can make the command inconvenient to run. For example with roughly 10,000 of these resources, the command takes 40 seconds to run in our cluster.The get command calls
controller.GetRolloutInfo
. This method will fetch all resources mentioned above.Diagnostics
What version of Argo Rollouts are you running?
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.