This project has been merged into https://github.com/rancher/ui
Rancher Cluster Driver UI for the Linode Kubernetes Engine
- Install Docker on a Linode Instance, either manually or through the Linode Marketplace.
- Start the Rancher container. You can follow either the Linode guide on installing Rancher, or the Rancher Quick Start.
- Add a Cluster Driver in Rancher by navigating through Global -> Tools -> Drivers -> Add Cluster Driver
- Download URL: The URL for the driver binary (e.g.
https://github.com/linode/kontainer-engine-driver-lke/releases/download/v0.0.3/kontainer-engine-driver-lke-linux-amd64
) - Custom UI URL: The URL of the UI javascript (e.g.
https://github.com/linode/ui-cluster-driver-lke/releases/download/v0.0.2/component.js
) - Whitelist Domains:
github.com
- Download URL: The URL for the driver binary (e.g.
- Wait for the driver to become "Active"
- Go to Clusters -> Add Cluster, the Linode driver and 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 compiled files are viewable at http://localhost:3000.
- Do not use the
model.linodeEngineConfg
signature to access your driver config in the template file, use theconfig
alias that is already setup in the component
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.
Would you like to improve the ui-cluster-driver-lke
module? Please start here.
For general help or discussion, join the Kubernetes Slack channel #linode.