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

Flexible workloads list in Backstage #3847

Open
3 tasks done
marians opened this issue Jan 24, 2025 · 8 comments
Open
3 tasks done

Flexible workloads list in Backstage #3847

marians opened this issue Jan 24, 2025 · 8 comments
Assignees
Labels
honeybadger/ui In Team Honeybadger and dealing with user interfaces team/honeybadger Team Honey Badger ui/backstage The next generation web UI for Giant Swarm

Comments

@marians
Copy link
Member

marians commented Jan 24, 2025

In our Backstage UI, we want to provide an overview of workloads throughout clusters, with information that is gathered exclusively on Giant Swarm management clusters. As of now (Jan 2025) this covers workloads deployed via App and HelmRelease resources.

The tabular overview should provide the most important details per workload. User-selectable columns might offer more details. In addition users will be able to open a details panel or navigate to a details page for more information on the individual deployment.

Filter functions should be offered to select workloads of interest. For example:

  • Instances of selected applications
  • Workloads of a certain type (e. g. App, HelmRelease)
  • Workloads deployed to certain types of clusters (e. g. Kubernetes version, prod clusters)
  • Workloads deployed to certain cloud providers or regions

Improvements/Iterations

Preview Give feedback
@github-project-automation github-project-automation bot moved this to Inbox 📥 in Roadmap Jan 24, 2025
@marians marians self-assigned this Jan 24, 2025
@marians marians added team/honeybadger Team Honey Badger honeybadger/ui In Team Honeybadger and dealing with user interfaces ui/backstage The next generation web UI for Giant Swarm labels Jan 24, 2025
@marians
Copy link
Member Author

marians commented Jan 28, 2025

Access to wireframes

@gusevda gusevda self-assigned this Jan 30, 2025
@marians
Copy link
Member Author

marians commented Jan 30, 2025

As we introduce a new main menu item, we need at least one new icon.

  • Clusters: import StorageIcon from '@mui/icons-material/Storage';
  • Deployments: import CloudUploadIcon from '@mui/icons-material/CloudUpload';
  • Installations: import FactoryIcon from '@mui/icons-material/Factory';

@marians
Copy link
Member Author

marians commented Feb 3, 2025

In case of HelmRelease resources, the SOURCE column currently shows two different types of info.

  • HelmRepository (obsolete)
  • Bucket (unused)
  • GitRepository
  • OCIRepository

@piontec will provide some more examples

@marians
Copy link
Member Author

marians commented Feb 4, 2025

One particular case seems to be untreated currently: the fact that an app is deployed via a bundle is not visible at all in our deployments table or details.

For example, this devportal page lists deployment of athena. In the gazelle/operations cluster, it is deployed via the auth-bundle, so it cannot be upgraded individually.

Let's discuss what we could add to make that more visible.

@gusevda
Copy link

gusevda commented Feb 4, 2025

We can probably have some relationships graph on deployment details page (that we currently don't have). In the deployments table I think it's a good idea to emphasize the fact that's an app is part of a bundle.

@gusevda
Copy link

gusevda commented Feb 4, 2025

A new page with overview of all apps deployed throughout clusters was added - https://devportal.giantswarm.io/deployments
There is currently a known issue when CLUSTER TYPE column can display incorrect information. The reason is in the logic where we identify if an App CR targets a management cluster or a workload cluster. We are doing it by looking at .spec.kubeConfig.inCluster flag, but recently we found out that it doesn't work the same way for App CRs that are part of an app bundle. We will try to fix this issue in the following releases.

Image

@marians
Copy link
Member Author

marians commented Feb 4, 2025

One possible improvement: allow for more than 20 rows per page. 50, 100 would be good next choices.

@marians
Copy link
Member Author

marians commented Feb 4, 2025

I can't really determine the sorting behaviour of the table in the current implemenentation. Is it unsorted?

Ideally by default it would be sorted by NAME, in descending order, so that the arrow indicator points downwards, like here:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
honeybadger/ui In Team Honeybadger and dealing with user interfaces team/honeybadger Team Honey Badger ui/backstage The next generation web UI for Giant Swarm
Projects
Status: Inbox 📥
Development

No branches or pull requests

2 participants