- Create a file called kind-cluster-with-extramounts.yaml with the following contents
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: rancher-manager
nodes:
- role: control-plane
image: kindest/node:v1.26.3
extraMounts:kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: rancher-manager
nodes:
- role: control-plane
image: kindest/node:v1.26.3
extraMounts:This assumes you have a Rancher Manage v2.8.0 cluster running in kind with the docker socket shared (see this).
apiVersion: management.cattle.io/v3
kind: Feature
metadata:
name: embedded-cluster-api
spec:These steps assume that the previous test scenarios have been done.
clustershttps://github.com/rancher-sandbox/rancher-turtles-fleet-exampleper-cluster-importThis assumes that that previous test steps have been executed. These instructions will be updated when annotating the namespaces works from the UI extension.
kubectl label namespace default cluster-api.cattle.io/rancher-auto-import=trueturtlesui| sudo INSTALL_RKE2_VERSION=v1.26.10+rke2r2 ./install.sh | |
| sudo systemctl enable –now rke2-server | |
| helm repo add rancher-latest https://releases.rancher.com/server-charts/latest | |
| helm repo add jetstack https://charts.jetstack.io | |
| helm repo update | |
| sudo cp /etc/rancher/rke2/rke2.yaml . | |
| sudo chmod a+rw rke2.yaml | |
| export KUBECONFIG=/home/richard/rke2.yaml | |
| kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.5.1/cert-manager.crds.yaml | |
| helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --version v1.5.1 |
| package main | |
| import ( | |
| "log" | |
| "github.com/google/cel-go/cel" | |
| ) | |
| func main() { | |
| env, err := cel.NewEnv( |
| Last login: Tue Jan 10 14:07:16 on ttys017 | |
| ~ using ☁️ default/ | |
| ➜ fig debug logs | |
| fig2023-01-10T18:37:54.108855Z DEBUG fig_desktop::webview::notification: 45: Broadcasting webview notification notification_type=NotifyOnLocalStateChanged | |
| 2023-01-10T18:37:54.109043Z DEBUG fig_desktop::file_watcher: 196: State added key=developer.logging value=true | |
| 2023-01-10T18:37:54.111762Z DEBUG fig_desktop::webview::notification: 45: Broadcasting webview notification notification_type=NotifyOnLocalStateChanged | |
| 2023-01-10T18:37:58.753526Z DEBUG fig_desktop::webview: 934: Network reachability flags flags=REACHABLE | |
| 2023-01-10T18:37:59.948097Z DEBUG macos_utils::window_server: 352: app com.microsoft.teams is already registered | |
| 2023-01-10T18:37:59.955505Z INFO fig_input_method::imk: 189: responds_to_selector |