Skip to content

Instantly share code, notes, and snippets.

@richardcase
Last active April 5, 2024 08:33
Show Gist options
  • Save richardcase/c14ccbd0b71dafb22b65d3b55c9b167c to your computer and use it in GitHub Desktop.
Save richardcase/c14ccbd0b71dafb22b65d3b55c9b167c to your computer and use it in GitHub Desktop.
Rancher Turtles: Installation of backend

This assumes you have a Rancher Manage v2.8.0 cluster running in kind with the docker socket shared (see this).

  1. Create a new file called feature.yaml with this content:
apiVersion: management.cattle.io/v3
kind: Feature
metadata:
  name: embedded-cluster-api
spec:
  value: false
  1. Apply this to the Rancher Manager cluster:
kubectl apply -f feature.yaml
  1. Wait for Rancher to restart and the capi-controller-manager deployment in the cattle-provisioning-capi-system to be deleted
  2. In Rancher Manager navigate to the local cluster
  3. Using the left navigation go to Apps->Repositoes
  4. Click Create to add a new repository
  5. Enter the following: Name: turtles Index URL: https://rancher.github.io/turtles
  6. Wait for the turtles repository to have a status of Active
  7. Go to Apps->Charts
  8. Filter for Turtles
  9. Click Rancher Turtles - the Cluster API extension**
  10. Click Install
  11. Click Next
  12. Click Install
  13. Wait for the following deployments to be ready:
  • rancher-turtles-system/rancher-turtles-controller-manager
  • rancher-turtles-system/rancher-turtles-cluster-api-operator
  • capi-system/capi-controller-manager
@richardcase
Copy link
Author

@valaparthvi
Copy link

Index URL in step 7 should now be: https://rancher.github.io/turtles/

@richardcase
Copy link
Author

Thanks @valaparthvi - i've updated it.

@valaparthvi
Copy link

valaparthvi commented Apr 5, 2024

If Rancher is using self-signed certificates; edit the rancher-turtles-system/rancher-turtles-controller-manager deployment and add --insecure-skip-verify=true to the flags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment