Add replicas
field to ReplicaSet
info collection on resource tree
#16769
Labels
replicas
field to ReplicaSet
info collection on resource tree
#16769
Summary
Curious what the appetite is for adding a
replicas
field to theReplicaSet
info collection on the resource tree.Motivation
ReplicaSet
s in the ArgoCD UI to have a quick view of how many replicas are configured for that rs in the form of an info labelWe realize we can use #11153 for this, duplicating the
spec.replicas
to a custom label but are curious if it'd make sense to have this asReplicaSet
specific info field, like thePod
-specific info fields (https://github.com/argoproj/argo-cd/blob/40760eb8528766745328e67e124e2cf1f56d8d93/controller/cache/info.go#L281C16-L281C16).Proposal
Similar to https://github.com/argoproj/argo-cd/blob/40760eb8528766745328e67e124e2cf1f56d8d93/controller/cache/info.go#L281C4-L281C4, have a
populateReplicaSetInfo
function that adds the replica count to the resource info.The text was updated successfully, but these errors were encountered: