-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Weird node sizing in nomad topology view #9769
Comments
Regarding the heights, I believe it’s because they are scaled to reflect the relative memory capacity of the nodes. You can see here where the scale is configured with the memory of the nodes. The memory on your nodes is quite similar but the difference between For the lines, is there anything in the Javascript console when you open it up after clicking? Does it show in both Firefox and Chromium when the developer tools are open? |
Ah, makes sense
Nope
It doesn't show when the tools are open, but rather when toggling them (or switching between fullscreen or not). That said, there seems to be some very very strong caching going on; even though all my member servers report 1.0.1 I have to refresh the UI all the time to get the topology. Ie if I close the nomad tab and open a new one it doesn't show the version in the lower left corner (or the topology button). |
I realize that I am seeing different js files here, but why? why I even cleared the cache in the browser, what else could be keeping such a strong handle on the cache? |
I managed to fix the caching issue by removing all history in firefox; but it sounds as if nomad should have some kind of cache busters. |
@backspace I made you a small screencast: https://apolloner.eu/~apollo13/.tmp/nomad.webm |
hmm, I can’t explain why the lines show sometimes and not others, maybe @DingoEatingFuzz, who wrote this feature, would have an idea? 🤞 Regarding caching, the Javascript assets are fingerprinted in the filenames, which is meant to bust the cache when the UI is updated. Is it possible the aggressive caching is happening via whatever’s serving the |
Probably, though I am serving directly via nomad (granted a haproxy is in between, but that one does not touch cache headers, I'll try to come up with a reproducer) |
Regarding lines not showing up sometimes: the UI will intentionally not show lines among allocations if that job+task-group represents a large enough percentage of the cluster. However, it doesn't look like in your example that is happening. It's also interesting that the lines show up when you open the dev tools. I suspect this isn't related to the devtools but a window.resize event that opening the devtools triggers. I'll look into this, thanks for that report! |
Jupp, resizing window as well as switching to full screen all make those lines appear. |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
On 1.0.1 I see the following in the nomad topology:
Is there a reason why the client nomad03 is smaller than the others?
Also I do not see the blue lines after clicking on an allocation:
Interestingly enough they do show up after hitting F12 to open developer tools:
I am running on Firefox 84.0.2 and Chromium 87.0.4280.88 on Fedora 33 which both show the same behavior.
The text was updated successfully, but these errors were encountered: