c58 / ui-driver-vscale

Rancher UI driver for the vscale.io docker-machine drivers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rancher UI for VScale Docker-Machine Driver

This is a Rancher UI for the VScale docker-machine driver. This is unofficial and by no means implies any affiliation with VScale, I just wanted my Rancher UI to be a little prettier.

Rancher VScale Add Host UI

Setup, Development, Build

Follow the guide in the Rancher repository ui-driver-skel to prepare a build environment.

The package.json has been customised with the following additional script functions:

  • deploy: Pushes a release from the dist subdirectory.

In practice after making changes the following steps will generate a release:

  1. npm run build
  2. npm run deploy

Usage

A release is published to the GitHub Project Page for this repository:

  1. Add a Machine Driver in Rancher (Admin tab -> Settings -> Machine Drivers)
  1. Wait for the driver to become "Active"
  2. In Rancher go to (Infrastructure -> Hosts -> Add Host) and the VScale driver and custom UI should show up.

Alternative UI URLs

These are just for reference as an alternative if there is a problem with GH Pages. Rancher seems to require a correct Content-Type for the .svg logo so directly accessing the raw files on github will not work as intended.

Credits

About

Rancher UI driver for the vscale.io docker-machine drivers


Languages

Language:JavaScript 62.8%Language:HTML 36.1%Language:CSS 1.1%