Skip to content
Rancher UI driver for the Hetzner Cloud docker driver.
Branch: master
Clone or download
Pull request Compare This branch is 79 commits ahead, 20 commits behind rancher:master.
d0whc3r and mxschmitt Add reference to cloudinit documentation (#27)
* Add reference to cloudinit documentation

* Update template.hbs
Latest commit b59c32e Mar 7, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets updated logo Mar 20, 2018
component Add reference to cloudinit documentation (#27) Mar 7, 2019
docs updated screenshots for Rancher 2.1 Jan 29, 2019
.editorconfig
.gitignore
.jshintrc
.travis.yml
Dockerfile
LICENSE
README.md adjusted installation of the Rancher driver Feb 25, 2019
_config.yml Updated for gh-pages Jan 29, 2018
gulpfile.js Fixed not working build bundle (fix: #24) Jan 3, 2019
package.json added info for supported linux distributions Jan 5, 2019
yarn.lock

README.md

Rancher 2 Hetzner Cloud UI Driver

Build Status

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.

Using

  • Add a Machine Driver in Rancher 2 (Global -> Custom Drivers -> Cluster Drivers)
Key Value
Download URL https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/1.2.2/docker-machine-driver-hetzner_1.2.2_linux_amd64.tar.gz
Custom UI URL https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js
Whitelist Domains storage.googleapis.com
  • Wait for the driver to become "Active"
  • Go to Clusters -> Add Cluster, your driver and custom UI should show up.

Authentication screen Configuration screen

Compatibility

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

Rancher 2.0

Use this component.js to support Rancher 2.0 version:

https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component-v20.js

Tested linux distributions

To use Debian e.g. with a non default Storage Driver, you have to set it manually in the Engine Options of the Node Template in Rancher.

Recommend

Image Docker Version Docker Storage Driver
Ubuntu 16.04 17.03 aufs (default)
Debian 9 17.03 overlay2, overlay
CentOS 7 17.03 overlay (default)
Ubuntu 18.04 not supported (due docker-install)
Fedora 27 not supported (due docker-install)
Fedora 28 not supported (due docker-install)

Beta

Image Docker Version Docker Storage Driver
Ubuntu 18.04 18.06 overlay2 (default)
Ubuntu 16.04 18.06 aufs (default)
Debian 9 18.06 overlay2, overlay
CentOS 7 18.06 devicemapper (default)
Fedora 27 not supported (due docker-install)
Fedora 28 not supported (due docker-install)

Development

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.

Building

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.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.