Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

linode/ui-cluster-driver-lke

Repository files navigation

This project has been merged into https://github.com/rancher/ui

ui-cluster-driver-lke

Rancher Cluster Driver UI for the Linode Kubernetes Engine

Usage

  • 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
  • Wait for the driver to become "Active"
  • Go to Clusters -> Add Cluster, the Linode driver and UI should show up.

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 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 the config alias that is already setup in the component

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.

Contribution Guidelines

Would you like to improve the ui-cluster-driver-lke module? Please start here.

Join us on Slack

For general help or discussion, join the Kubernetes Slack channel #linode.