Replies: 1 comment
-
|
Related to this, I've raised an issue against leveled - martinsumner/leveled#478. To support this type of view into cluster health it would be good to make it easier to interrogate via function calls the status of other areas of Riak. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Context and rationale
Riak used to have a web-based control panel called riak_control, which at some point was removed from riak.
Although all administrative tasks are meant to be done via CLI (i.e.,
riak admin), indications are customers will appreciate a GUI version of some of the functionality provided byriak admin. Also, GUI allows for better presentation of certain elements than CLI.With the new riak_control exposing controls in a browser, it becomes possible for operators to enable users to perform administrative tasks without giving them ssh access to the boxes running riak.
At TI Tokyo, after a successful and rewarding experience with a similar project in Elm (riak_cs_control, featured here), we had an idea of making riak_control likewise great again.
Architecture and design
In this rewrite, it is a single-page web app, written in Elm. When compiled and built and packaged, it exists as a bunch of JS files, assets and an entry-point html, served by a standard Python httpd. On the riak side, it will need some new webmachine handlers, to be submitted in a separate PR.
No intention for riak_control to be included in OpenRiak
Importantly, the new riak_control is a nodejs project, totally alien to the rebar3-orchestrated building infrastructure. It is therefore decoupled from OpenRiak; there is no reason or ultimate intention to reintroduce it to OpenRiak.
Features
Currently, our riak_control will:
riak admin clusteroperations):Security
Users of riak_control will need to:
riak admin security add-user userone;riak_kv.riak_controlprivilege, withriak admin security grant riak_kv.riak_control on any to userone.Current status
This is an early preview. We aim to match and replicate the features of the original riak_control (which we have more or less covered); but also, we feel it's time to ask for new features and ideas from the community.
Beta Was this translation helpful? Give feedback.
All reactions