This assumes that that previous test steps have been executed. These instructions will be updated when annotating the namespaces works from the UI extension.
- Run the following command to annotate the default namespace for auto import
kubectl label namespace default cluster-api.cattle.io/rancher-auto-import=true
- In Rancher Manager go to Continous Delivery
- Using the namespace drop down in the top bar select fleet-local
- Click Git Repos on the left navigation
- Click Add Repository button
- Fill in the following information:
- Name:
clusters
- Repository URL:
https://github.com/rancher-sandbox/rancher-turtles-fleet-example
- Branch Name:
main
- Click Next
- Click Create
- Click into clusters
- It should turn Not Ready
- Check in the cluster that there are Machines being provisioned
- All the resources should become Ready
- Navigate to Cluster Management
- Check that there is a cluster cluster1-capi
- Wait for it to become Ready
- Click Explore
- Click the Download Kubeconfig toolbar button
- Use the downloaded kubeconfig to connect to the cluster