Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

Multiple regions support

Compare
Choose a tag to compare
@jippi jippi released this 29 Dec 15:58
· 858 commits to master since this release

I've added region browsing support to hash-ui now (#170) (and a tons of internal refactoring)

If you have multiple regions in your nomad cluster, you will be asked which one you wish to access, otherwise the one region you have will be auto-selected for you.

Regions can now be selected from a list (when multiple regions is available)
image

or from the upper right corner anywhere in the UI
image
(expanded)
image

The region you are currently in will be shown in the main topbar now as well
image

When you have multiple regions, the leader from each region will now be detected correctly as well
image

caveats

hash-ui will not re-scan for new or dropped regions, it will only pick up the regions on startup, so if you change your regions, please remember to restart hash-ui.

Additionally all URLs have changed to be /nomad/:region/:resource/:id/:action instead of previously /:resource/:id/:action - the UI should redirect you automatically to somewhere "sane", but please update any bookmarks you may have :)

This release fixes #130 and #168