All Projects → mxschmitt → ui-driver-hetzner

mxschmitt / ui-driver-hetzner

Licence: Apache-2.0 license
Rancher UI driver for the Hetzner Cloud docker driver.

Projects that are alternatives of or similar to ui-driver-hetzner

hcloud-ruby
Native ruby client for HetznerCloud
Stars: ✭ 29 (-87.82%)
Mutual labels:  hetzner, hetzner-cloud, hcloud
wireguard-setup
WireGuard and Unbound setup with Packer and Terraform.
Stars: ✭ 55 (-76.89%)
Mutual labels:  hetzner, hetzner-cloud, hcloud
hetzner.hcloud
A collection containing modules to manage resources on the Hetzner Cloud.
Stars: ✭ 58 (-75.63%)
Mutual labels:  hetzner, hetzner-cloud, hcloud
hcloud-pricing-exporter
A prometheus exporter for the current pricing and costs of your HCloud account
Stars: ✭ 19 (-92.02%)
Mutual labels:  hetzner, hetzner-cloud, hcloud
hcloud-rust
Unofficial Rust crate for accessing the Hetzner Cloud API
Stars: ✭ 22 (-90.76%)
Mutual labels:  hetzner, hetzner-cloud, hcloud
hcloud-ip-floater
k8s controller for Hetzner Cloud floating IPs
Stars: ✭ 43 (-81.93%)
Mutual labels:  hetzner, hcloud
kube-hetzner
Optimized and Maintenance-free Kubernetes on Hetzner Cloud in one command!
Stars: ✭ 937 (+293.7%)
Mutual labels:  hetzner-cloud, hcloud
packer-builder-hcloud
Packer builder plugin for Hetzner Cloud - https://hetzner.cloud
Stars: ✭ 24 (-89.92%)
Mutual labels:  hetzner, hetzner-cloud
hetzner-rescaler
Lightweight CLI tool to programmatically rescale your Hetzner virtual server daily to optimize your budget spending
Stars: ✭ 44 (-81.51%)
Mutual labels:  hetzner, hetzner-cloud
minectl
minectl 🗺 is a cli for creating Minecraft server on different cloud provider.
Stars: ✭ 85 (-64.29%)
Mutual labels:  hetzner, hetzner-cloud
docker-volume-hetzner
Docker Volume Plugin for accessing Hetzner Cloud Volumes
Stars: ✭ 81 (-65.97%)
Mutual labels:  hetzner, hetzner-cloud
molecule-hetznercloud
Molecule Hetzner Cloud driver 💀
Stars: ✭ 21 (-91.18%)
Mutual labels:  hetzner, hetzner-cloud
cluster-api-provider-hcloud
Cluster API infrastructure provider for Hetzner's Hcloud
Stars: ✭ 26 (-89.08%)
Mutual labels:  hetzner, hcloud
hetzner-k3s
A Ruby gem (and Docker image) to install and manage Kubernetes clusters in Hetzner Cloud using the lightweight distribution k3s by Rancher.
Stars: ✭ 201 (-15.55%)
Mutual labels:  hetzner, hetzner-cloud
microservices4vaadin
Sample application to show the secured integration of microservices and vaadin
Stars: ✭ 30 (-87.39%)
Mutual labels:  rancher
k3d-action
A GitHub Action to run lightweight ephemeral Kubernetes clusters during workflow. Fundamental advantage of this action is a full customization of embedded k3s clusters. In addition, it provides a private image registry and multi-cluster support.
Stars: ✭ 137 (-42.44%)
Mutual labels:  rancher
ansible-role-rke2
Ansible Role to install RKE2 Kubernetes.
Stars: ✭ 118 (-50.42%)
Mutual labels:  rancher
kconnect
Kubernetes Connection Manager CLI
Stars: ✭ 168 (-29.41%)
Mutual labels:  rancher
Kadalu
A lightweight Persistent storage solution for Kubernetes / OpenShift using GlusterFS in background.
Stars: ✭ 239 (+0.42%)
Mutual labels:  rancher
Asky
Asky开源架构:极简、轻量、极致性能《Asky零基础1小时学编程 dnc+vue+tidb+redis+rabbitMQ+ES》QQ群 779699538
Stars: ✭ 213 (-10.5%)
Mutual labels:  rancher

Rancher 2 Hetzner Cloud UI Driver

Build Status

Rancher 2.X 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.

Usage

  • Add a Machine Driver in Rancher 2 (Cluster Management -> Drivers -> Node Drivers)
Key Value
Download URL https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.3.0/docker-machine-driver-hetzner_3.3.0_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 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.

Useful resources

Error creating machine: Error running provisioning: ssh command error:

Try to use overlay2 and if it does not work overlay as Storage Driver in the Engine Options in the bottom.

How secure is the Private Network feature?

Traffic between Cloud Servers inside a Network is private and isolated, but not automatically encrypted. We recommend you use TLS or similar protocols to encrypt sensitive traffic.

Reference: Hetzner Cloud documentation

The Rancher traffic between the agents and the Rancher related traffic to the nodes is fully encrypted over HTTPS/TLS.

The custom application specific traffic is not encrypted. You can use e.g. the Weave CNI-Provider for that: https://rancher.com/docs/rancher/v2.x/en/faq/networking/cni-providers/#weave

Requirements for Private Networks

  • Rancher host needs to be in the same Private Network as the selected one in the Node template
  • Under the global settings of Rancher the server-url needs to be the internal IP of the Private Network (you can find it in the Hetzner Cloud Console). Otherwise the traffic won't go through the Internal network.

How to close the open ports on the public interface?

You could use it e.g. in combination with that tool: https://github.com/vitobotta/hetzner-cloud-init

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].