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

Show healthy/running/desired allocs in Job summary #17

Open
jawahars16 opened this issue Sep 28, 2021 · 2 comments
Open

Show healthy/running/desired allocs in Job summary #17

jawahars16 opened this issue Sep 28, 2021 · 2 comments

Comments

@jawahars16
Copy link
Contributor

What is the problem?

The current summary data in Jobs view is not very intuitive. Currently it shows, how many groups are running out of total groups in a Job. But people are really interested on whether the desired allocs are running and healthy within a job. Something similar to the below one. This is Job overview from Nomad UI dashboard.

image

How to solve?

We can show below detail in Summary.

<healthy allocs> / <running allocs> / <desired allocs>

Example

image

The allocs should be the sum of allocs from each group. (Mostly each job will have one group. I still can’t find a good use case, where we run multiple groups in a Job)

I can give a PR on this change 😎 . Let me know if this improvement make sense.

@hcjulz
Copy link
Collaborator

hcjulz commented Sep 29, 2021

Hey @jawahars16,
I thought about the same and I like the idea. The only thing I'm just a little bit concerned about is that people will have to know somehow what the number mean (healthy/running/desired). Probably add it to the readme will be enough. Also at some point it would be nice to have a "help" page where we could add this info as well.
Have you also thought about the coloring? Maybe:

  • 0 healthy allocs = yellow
  • 0 running allocs = red

(and yeah PRs are highly appreciated 👍 )

@jawahars16
Copy link
Contributor Author

Hi @hcjulz ,

Thanks for the update. A help page would be really nice, which can include this information and other keybindings as well.
Yes colouring is a good suggestion. 👍 I am planning to give a PR on this.

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants