Prototype Volumes GUI

../_images/volumes-gui-screenshot.png

This is a very simple web interface to view the current state of the datasets (volumes) in your Flocker cluster.

You can also create volumes with sizes and metadata, and move datasets around between hosts by changing their primary.

Trying out the volumes GUI

Prerequisites:

  • A Flocker cluster, if you don't have one of these then try the experimental installer.
  • Docker (either locally or in boot2docker on OS X).
  • A web browser (tested on Google Chrome).

Step 1 - run the container with your local keys

Run this command from the directory where you created your cluster configuration and certificates, for example ~/clusters/test:

cd ~/clusters/test
export CERTS=$PWD
export CONTROL_SERVICE=your.control.service
export USERNAME=certuser
docker run --name experimental-volumes-gui \
    -d -p 80:80 \
    -e CONTROL_SERVICE=$CONTROL_SERVICE \
    -e USERNAME=user \
    -e CERTS_PATH=/ \
    -v $CERTS/$USERNAME.key:/user.key \
    -v $CERTS/$USERNAME.crt:/user.crt \
    -v $CERTS/cluster.crt:/cluster.crt \
    clusterhq/experimental-volumes-gui

Warning

You must substitute your.control.service with the name (or IP address, depending on how you configured it) of your control service and certuser with the name of an API user you generated a key and certificate for (where you have those files in your current working directory). Refer to the instructions in the experimental installer.

Step 3

There is no step 3.