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

ArgoCD CLI "admin cluster stats" can't show correct information #16060

Closed
jainjain opened this issue Oct 21, 2023 · 0 comments · Fixed by #16421
Closed

ArgoCD CLI "admin cluster stats" can't show correct information #16060

jainjain opened this issue Oct 21, 2023 · 0 comments · Fixed by #16421
Labels
bug Something isn't working

Comments

@jainjain
Copy link

Checklist:

  • [v] I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • [v] I've included steps to reproduce the bug.
  • [v ] I've pasted the output of argocd version.

Describe the bug
I configured Argocd using the Helm chart package and enabled high availability (HA). However, when I run the argocd admin cluster stats command, the displayed information does not align with expectations.

To Reproduce
Run the command argocd admin cluster stats

SERVER          SHARD  CONNECTION  NAMESPACES COUNT  APPS COUNT  RESOURCES COUNT
https://kubernetes.default.svc  0                  3                 0           0
<cluster 0>           0                  7                 0           0
<cluster 1>           0                  13                0           0
<cluster 2>           0                  14                0           0
<cluster 3>           0                  13                0           0
<cluster 4>           0                  14                0           0

Expected behavior

The command should display the SHARD/APPS COUNT/RESOURCES COUNT.

Screenshots

SERVER          SHARD  CONNECTION  NAMESPACES COUNT  APPS COUNT  RESOURCES COUNT
https://kubernetes.default.svc  0                  3                 0           0
<cluster 0>           0                  7                 0           0
<cluster 1>           0                  13                0           0
<cluster 2>           0                  14                0           0
<cluster 3>           0                  13                0           0
<cluster 4>           0                  14                0           0

Version
argo-cd helm chart version

-> %helm3 list -f argocd
NAME    NAMESPACE       REVISION        UPDATED                                 STATUS          CHART           APP VERSION
argocd  argocd          12              **    deployed        argo-cd-5.43.7  v2.8.2

...
-> %argocd version
argocd: v2.8.2+dbdfc71
  BuildDate: 2023-08-24T20:37:23Z
  GitCommit: dbdfc712702ce2f781910a795d2e5385a4f5a0f9
  GitTreeState: clean
  GoVersion: go1.20.7
  Compiler: gc
  Platform: linux/amd64
argocd-server: v2.8.2+dbdfc71
  BuildDate: 2023-08-24T20:37:23Z
  GitCommit: dbdfc712702ce2f781910a795d2e5385a4f5a0f9
  GitTreeState: clean
  GoVersion: go1.20.7
  Compiler: gc
  Platform: linux/amd64
  Kustomize Version: v5.2.1 2023-10-19T20:13:51Z
  Helm Version: Client: v2.17.0+ga690bad
  Kubectl Version: v0.24.2
  Jsonnet Version: v0.20.0

Logs
no logs

@jainjain jainjain added the bug Something isn't working label Oct 21, 2023
@jainjain jainjain changed the title ArgoCD CLI "admin cluster stats" can't show correct informatino ArgoCD CLI "admin cluster stats" can't show correct information Oct 26, 2023
lyda pushed a commit to lyda/argo-cd that referenced this issue Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant