Rancher extension used to provision clusters with k3k
Requires Rancher 2.11.x
- Open the Rancher Manager UI and navigate to the 'Extensions' page
- Use the three-dot menu in the upper right and select 'Manage Repositories'
- Click 'Create' to add the repository
- Configure the repository:
- name: virtual-clusters-ui
- target: http(s) URL to an index generated by Helm
- index URL: https://rancher.github.io/virtual-clusters-ui
- Click 'Create'
- Wait for the virtual-clusters-ui repository status to be Active
- Go back to the 'Extensions' page and select the 'Available' tab
- Find the virtual clusters card and click 'Install'
- Select a version (or use the latest by default) and click 'Install'
- Once the extension has finished installing, click the 'Reload' button that will appear at the top of the page.
To get started, navigate to the Cluster Management page, click 'Create' and select k3k.
This is what you probably want to get started.
# Install dependencies
yarn install
# For development, serve with hot reload at https://localhost:8005
# using the endpoint for your Rancher API
API=https://your-rancher yarn dev
# or put the variable into a .env file
# Goto https://localhost:8005This is about updating the @shell package which is the base from rancher/dashboard
# Update
yarn create @rancher/updateBump the app version on package.json file, then run:
# Build for production
./scripts/publish -g
# add flag -f if you need to overwrite an existing version
# If you need to test the built extension
yarn serve-pkgs