-
Notifications
You must be signed in to change notification settings - Fork 239
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
Feature Request: extend GitRepoStatus for easier differentiation of per-cluster state #3186
Comments
Referring this comment which has some example json: rancher/dashboard#11643 (comment) The |
This was referenced Jan 10, 2025
2 tasks
This was referenced Jan 30, 2025
System Information
Scenario
Below are general steps
Result1. Test GitRepo shows per-cluster state by installing Grafana application with 9 resources each cluster i.e. 27perClusterResourceCounts YAML output for Grafana resource count for 3 clusters 27 perClusterResourceCounts:
fleet-default/imported-0:
desiredReady: 9
missing: 0
modified: 0
notReady: 0
orphaned: 0
ready: 9
unknown: 0
waitApplied: 0
fleet-default/imported-1:
desiredReady: 9
missing: 0
modified: 0
notReady: 0
orphaned: 0
ready: 9
unknown: 0
waitApplied: 0
fleet-default/imported-2:
desiredReady: 9
missing: 0
modified: 0
notReady: 0
orphaned: 0
ready: 9
unknown: 0
waitApplied: 0
readyClusters: 3
resourceCounts:
desiredReady: 27
missing: 0
modified: 0
notReady: 0
orphaned: 0
ready: 27
unknown: 0
waitApplied: 0 2. Test GitRepo shows per-cluster state by installing Grafana application with 9 resources from 3 clusters to 2 clusters i.e. 18perClusterResourceCounts YAML output for Grafana resource count for 2 clusters 18 perClusterResourceCounts:
fleet-default/imported-1:
desiredReady: 9
missing: 0
modified: 0
notReady: 0
orphaned: 0
ready: 9
unknown: 0
waitApplied: 0
fleet-default/imported-2:
desiredReady: 9
missing: 0
modified: 0
notReady: 0
orphaned: 0
ready: 9
unknown: 0
waitApplied: 0
readyClusters: 2
resourceCounts:
desiredReady: 18
missing: 0
modified: 0
notReady: 0
orphaned: 0
ready: 18
unknown: 0
waitApplied: 0 3. Test GitRepo shows per-cluster state by installing Grafana application with 9 resources from 2 clusters to 3 clusters i.e. 27perClusterResourceCounts YAML output for Grafana resource count for 2 clusters 18 perClusterResourceCounts:
fleet-default/imported-0:
desiredReady: 9
missing: 0
modified: 0
notReady: 0
orphaned: 0
ready: 9
unknown: 0
waitApplied: 0
fleet-default/imported-1:
desiredReady: 9
missing: 0
modified: 0
notReady: 0
orphaned: 0
ready: 9
unknown: 0
waitApplied: 0
fleet-default/imported-2:
desiredReady: 9
missing: 0
modified: 0
notReady: 0
orphaned: 0
ready: 9
unknown: 0
waitApplied: 0
readyClusters: 3
resourceCounts:
desiredReady: 27
missing: 0
modified: 0
notReady: 0
orphaned: 0
ready: 27
unknown: 0
waitApplied: 0 P.S. Above steps are performed on same GitRepo. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem?
While working on #3102 and rancher/dashboard#12424, I realized that the dashboard has to do non-trivial computations in order to differentiate each cluster, which actually lead to a bug that made the resource list not to contain accurate information.
Solution you'd like
The UI was changed to use BundleDeployments for calculating the list of resources, but Fleet could ease this task by exposing the necessary information in a way that can directly be consumed (as far as I could see, Fleet is already doing the computation part that would allow this, it only needs to extend its API to expose it).
Alternatives you've considered
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: