This assumes you have a Rancher Manage v2.8.0 cluster running in kind with the docker socket shared (see this).
- 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
- Apply this to the Rancher Manager cluster:
kubectl apply -f feature.yaml
- Wait for Rancher to restart and the capi-controller-manager deployment in the cattle-provisioning-capi-system to be deleted
- In Rancher Manager navigate to the local cluster
- Using the left navigation go to Apps->Repositoes
- Click Create to add a new repository
- Enter the following:
Name:
turtles
Index URL:https://rancher.github.io/turtles
- Wait for the turtles repository to have a status of Active
- Go to Apps->Charts
- Filter for
Turtles
- Click Rancher Turtles - the Cluster API extension**
- Click Install
- Click Next
- Click Install
- 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
This is based on the original gist: https://gist.github.com/alexander-demicev/13be899c9b33cdeb42d69c8777fb9e54