This article shows you how to use Rancher UI Driver for Auto Deploying Nodes. Rancher is a management panel (open source) for deploying multiple Kubernetes clusters. Skeleton Rancher UI driver is customized for docker-machine drivers. Driver in Rancher helps you manage which provider can be used to deploy nodes in an infrastructure provider or hosted Kubernetes clusters to allow Rancher to manage and auto-deploy Kubernetes nodes within the designated infrastructure. The Rancher UI driver provides auto-deploying nodes within Xelon HQ.
First, you need to initiate the Rancher driver on the docker to create an environment for auto-deploying nodes within Xelon HQ. To manage this, you need to:
ui-driver-DRIVERNAME
DRIVERNAME
should be the drive that you need to give to
docker-machine create –driver
Rancher 2 Xelon UI Driver
package.json
to match.
You also need to update the description, for instance, URLs.
Rancher 2 Xelon UI Driver
in the docker using the
npm install
command.
To use Rancher UI Driver to auto-deploy nodes, you need to deploy the driver using the provider to initiate the driver’s use. Then you can create the node templates and the overall node pools where they will be auto-deployed within Xelon HQ.
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 |
Key – Value Overview Table |
&nsbp;
e.g. https://github.com/mycompany/docker-machine-mycompany/releases/download/v1.0.0/docker-machine-driver-mycompany-v1.0.0-linux-amd64.tar.gz)&nsbp;
e.g. https://github.com/mycompany/ui-driver-mycompany/releases/download/v1.0.0/component.js)Development of Rancher UI
Rancher 2 Xelon UI Driver
at http://localhost:3000/component.js. You opt to run this small website while pointing and developing the Rancher settings there.
npm start -- --name=DRIVERNAME
Note: When the developed server is changed, the nodes don’t automatically restart. This means you need to point the driver to a new node. This can help the drivers deploy automatically from the developed files in the development server.
When deploying, don’t use the model
—<drivername<Confg
signature to access your
Rancher 2 Xelon UI Driver
config within the template file. Just use the config setup alias, which is already located in the component.
For auto-deployment of the
Rancher 2 Xelon UI Driver
, you need to make your driver available by building and hosting its output on a server that is not only accessible but open to their browsers.
To build the
Rancher 2 Xelon UI Drive
you need to:
dist
directory in a webserver.
Note that if your rancher driver is configured using SSL and HA, the server must be configured and available in HTTPS.
The release process uses continuous integration from CircelCI. This means the code base should release at any time.
The below steps are for final release:
If you have any question how to use Rancher UI Driver for Auto Deploying Nodes please feel free to contact our support team!