Rancher 2 UI driver for the Hetzner Cloud. For the Rancher 1 version check out the readme from the v1.6 branch which you can find here.
- Add a Machine Driver in Rancher 2 (Global -> Node Drivers)
- Download URL:
https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/1.2.1/docker-machine-driver-hetzner_1.2.1_linux_amd64.tar.gz - Custom UI URL:
https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js - Whitelist Domains:
storage.googleapis.com
- Download URL:
- Wait for the driver to become "Active"
- Go to Clusters -> Add Cluster, your driver and custom UI should show up.
The following component.js is always compatible with the latest Rancher 2.X version:
https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js
Use this component.js to support Rancher 2.0 version:
https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component-v20.js
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
distdirectory onto a webserver.- If your Rancher is configured to use HA or SSL, the server must also be available via HTTPS.

