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

Releases: jippi/hashi-ui

v0.22.0

13 Oct 06:48
Compare
Choose a tag to compare

This release was sponsored by @seatgeek

Come work with me, we are hirering senior & junior system engineers and developers in NYC or Copenhagen!

Changes

  • [nomad] evaluation list now supports filters
  • [nomad] the job column now have a health column, which is checking if the desired number of allocations are actually running for the job
  • [nomad] only show the deployment canary actions if the deployment have canaries
  • [nomad] allow using Hashi-UI actions over HTTP (webservice style) - see /API.md
  • [nomad] improve the allocation consul health check logic and UX
  • [nomad] better use of the screen width for job view, now actions will show up as buttons if there is available space
  • [shared] cleanup JS dependencies
  • [shared] upgrade JS dependencies

v0.21.2

29 Sep 14:50
d6bb77f
Compare
Choose a tag to compare
  • Fixed JS redirection
  • Fixed resetting cluster statistics when leaving the page

v0.21.1

29 Sep 14:42
Compare
Choose a tag to compare
  • Fix HTTPS detection for websocket connections

v0.21.0

29 Sep 14:10
Compare
Choose a tag to compare

This release was sponsored by @seatgeek

Come work with me, we are hirering senior & junior system engineers and developers in NYC!

Fixes

  • Missing Nomad / Consul connection check during startup caused panic (#331)
  • Consul Read-Only did not work (#332)
  • Hopefully the last fix for the proxy address rewriting (i've tested with Fabio and nginx)

Changes

  • Hashi-UI now exposes a /_status endpoint for LBs and general health of Consul / Nomad - see README
  • Drained nodes will no longer be considered in cluster wide statistics (#333)
  • You can now control the Consul and Nomad topbar color - see README (#334)
  • All JS components are now lazy loaded, giving a much faster initial load
  • All JS components are now loaded from an absolute path rather than relative, meaning you will no longer download the same files over and over when opening links in new tabs (#339)
  • You can now restart a nomad job (e.g. deregister + register) (#344)
  • Nomad Cluster page now has area charts for CPU and memory, showing up to 5min of ~live data rather than just the current values in a piechart (#338)
  • Changes the color scheme for allocation statistics in Nomad Jobs overview

Special thanks to @hsmade that continue to be awesome in adding new features!

v0.20.1

25 Sep 08:41
Compare
Choose a tag to compare
  • UI now include the version / build info in the left menu footer
  • Cluster/client reserved resource statistics now only consider allocations that are in desired state = running

v0.20.0

24 Sep 15:57
f6e8c50
Compare
Choose a tag to compare

This release was sponsored by @seatgeek

Come work with me, we are hirering senior & junior system engineers and developers in NYC!

New contributor

I'm super happy to announce that @hsmade now has commit-bit ! :)

Feature: Consul Health integration ( @jippi )

If you have enabled the consul backend, then allocation lists will now show the Consul service health.

With the rewrite of the Go backend in 0.19.0, integrations like this is significantly easier to implement and maintain, expect most cross-nomad/consul integrations in the future.

image

Feature: Allocation resource statistics ( @hsmade )

You can now see ~live (1s resolution, for 5min) CPU and Memory statistics for an allocation.

In all allocations list, next to the "logs" shortcut in the actions column, there is a brand new "stats" icon taking you directly to this page. You can also navigate to it from a single allocation page -> stats in the menu.

image

Feature: Allocation port bindings ( @hsmade )

On the allocation info page, you can now see the IP and Port of your allocation.

image

Feature: Cluster & Client stats now show allocated resources ( @hsmade )

The client and cluster pie charts now also include how many resources you have locked to jobs

Cluster resource usage
image

Client resource usage
image

Feature: Client list shows CPU usage ( @jippi )

Every 3s the CPU usage of each node will be updated.

image

v0.19.0

22 Sep 06:49
c08c2de
Compare
Choose a tag to compare

This release was sponsored by @seatgeek

Come work with me, we are hirering senior & junior system engineers and developers in NYC!

Release notes

Breaking changes

  • NewRelic has been removed from this release, as its value was very limited in debugging anyway
  • Changed logging framework to sirupsen/logrus

Rewritten Go backend

The Go backend has been completely rewritten, now Nomad and Consul share much much more code, making it way easier to do cross-system integrations, like showing Consul Health Checks in Nomad Allocation View and so on.

The rewrite has fixed a lot of minor bugs, like segfaults due to closed channels not being cleaned up, or missing checks for correct data.

As with any rewrite, there might be some new bugs in the rewrite, but the code in general is much simpler and easier to reason about - hopefully also making it easier for new contributors to understand the code and submit patches.

A major difference from previous releases is the way data is fetched from Consul and Nomad API.
Previous releases had 24/7 threads fetching and maintaining up-to-date data of all lists, even when no one was using the UI. This release no longer do this, but rather only fetch data when a user request the data, reducing the load on the Nomad and Consul endpoints significantly.

A consequence of the rewrite is also a more consistent error handling, where the Nomad and Consul errors will be relayed directly to the hashi-ui unmodified, rather than custom errors written by me. This also include errors like 404, which previously was ignored in error processing.
This change mean that people running Nomad 0.5.x trying to go to a Nomad Job single view, will see an error for 404 when hashi-ui tries to fetch Job Versions (which didn't exist until 0.6.x)

update: I've gotten reports from users that the memory requirements for hashi-ui has been reduced significantly with 0.19.0. The RAM consumption is stable around 50MB of RAM in a ~50 client cluster, where previous releases peaked at ~500MB of RAM in same setup.

Better visibility into resource subscriptions

Additionally, every connection will now log to console what resources it's subscribed to every 10s

Minor UI tweaks

  • All overview pages now default put focus on the first input filter field (mostly the Job column)
  • The clients list now show CPU utlliization, it's refreshed every ~10s

Docker

use jippi/hashi-ui:v0.19.0 to target this release

v0.18.0

13 Sep 16:05
1328453
Compare
Choose a tag to compare

Build against Nomad 0.6.3 using Go 1.9

Also upgraded multiple frontend components to their latest stable version

v0.17.0

29 Aug 11:39
6faeabd
Compare
Choose a tag to compare

Build against Consul 0.9.2 and Nomad 0.6.2

Also adds a new "evaluate all jobs" system task, since this is a task i frequently need to do myself

v0.16.0

27 Aug 12:35
d5dd90c
Compare
Choose a tag to compare

Fixes #211 - now title of the page changes depending on what resource you are viewing, making it easier to tell multiple hashi-ui tabs apart