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

Add flux stats command to print the reconcilers status #3578

Merged
merged 1 commit into from
Feb 20, 2023
Merged

Conversation

stefanprodan
Copy link
Member

@stefanprodan stefanprodan commented Feb 11, 2023

$ flux stats -n A
RECONCILERS             RUNNING FAILING SUSPENDED       STORAGE   
GitRepository           2       0       0               105.1 MiB       
OCIRepository           6       1       0               55.8 KiB        
HelmRepository          6       0       0               249.5 KiB       
HelmChart               6       0       0               538.6 KiB       
Bucket                  1       0       1               37.3 KiB        
Kustomization           6       0       0               -               
HelmRelease             6       0       0               -               
Alert                   0       0       0               -               
Provider                0       0       0               -               
Receiver                1       1       0               -               
ImageUpdateAutomation   0       0       0               -               
ImagePolicy             0       0       0               -               
ImageRepository         0       0       0               - 

cmd/flux/stats.go Outdated Show resolved Hide resolved
cmd/flux/stats.go Outdated Show resolved Hide resolved
@hiddeco
Copy link
Member

hiddeco commented Feb 20, 2023

Still on the fence about this being called state vs stats, but given the idea from this came from docker stats I think I am fine with either.

@stefanprodan stefanprodan marked this pull request as ready for review February 20, 2023 10:47
@stefanprodan stefanprodan mentioned this pull request Feb 20, 2023
21 tasks
cmd/flux/stats.go Outdated Show resolved Hide resolved
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@hiddeco hiddeco added the enhancement New feature or request label Feb 20, 2023
@stefanprodan stefanprodan merged commit 2cac6ce into main Feb 20, 2023
@stefanprodan stefanprodan deleted the stats-cmd branch February 20, 2023 11:24
@stefanprodan stefanprodan changed the title Add command to print the reconcilers status Add flux stats command to print the reconcilers status Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants