Rancher 2 UI driver for the Xelon IaaS platform.
See the Rancher Documentation on how to add a node driver to your installation. The relevant part is in 'Adding Custom Node Drivers':
-
From the Global view, choose Tools > Drivers in the navigation bar. From the Drivers page, select the Node Drivers tab. In version prior to v2.2.0, you can select Node Drivers directly in the navigation bar.
-
Click Add Node Driver.
-
Complete the Add Node Driver form. Then click Create:
Key Value Download URL https://github.com/Xelon-AG/docker-machine-driver-xelon/releases/download/v1.0.1/docker-machine-driver-xelon_linux_amd64
Custom UI URL https://vdcstatic.xelon.ch/files/component.js
Whitelist Domains vdcstatic.xelon.ch
-
Wait for the driver to become "Active"
-
From the Global view, go to Clusters -> Add Cluster, your driver and custom UI should show up.
This package contains a small web-server that will serve up the custom driver UI at http://localhost:3000/component.js
. You can run this
while developing and point the Rancher settings there.
npm start
- The driver name can be optionally overridden:
npm start -- --name=DRIVERNAME
- The compiled files are viewable at http://localhost:3000.
- Note: The development server does not currently automatically restart when files are changed.
For other users to see your driver, you need to build it and host the output on a server accessible from their browsers.
npm run build
- Copy the contents of the
dist
directory onto a webserver.- If your Rancher is configured to use HA or SSL, the server must also be available via HTTPS.
The release process uses continuous integration from CircelCI which means the code base should be ready to release any time.
The below steps are for final release:
- Check that latest build compiles and passes tests.
- Trigger release creation by tagging git commit with
# X.Y.Z. is a release version, e.g. 1.2.0 $ git tag -a vX.Y.Z -m "Release vX.Y.Z."
- Wait for the build to finish and release created.
- Update release information if needed