- Create a file
/etc/rancher/rke2/config.yamlcni: none disable: - rke2-ingress-nginx
- Apply the following manifest
apiVersion: helm.cattle.io/v1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"level":"Level(-4)","ts":1684814180.5020661,"logger":"decorator.namespace-labeler","msg":"Sync","object":{"name":"namsespacefoo"}} | |
| {"level":"Level(-4)","ts":1684814180.5021586,"logger":"decorator.namespace-labeler","msg":"DecoratorController sync","controller":{"apiVersion":"metacontroller.k8s.io/v1alpha1","kind":"DecoratorController","name":"namespace-labeler"},"parent":{"apiVersion":"v1","kind":"Namespace","name":"namsespacefoo"}} | |
| {"level":"Level(-6)","ts":1684814180.5023131,"msg":"Webhook request","type":"sync","url":"http://namespace-labeler-service.metacontroller.svc.cluster.local:5000/sync","body":{"controller":{"kind":"DecoratorController","apiVersion":"metacontroller.k8s.io/v1alpha1","metadata":{"name":"namespace-labeler","uid":"ae45341e-be26-4f29-9a15-c5b3645ce445","resourceVersion":"2848417","generation":4,"creationTimestamp":"2023-05-19T11:41:31Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"metacontroller.k8s.io/v1alpha1\",\"kind\":\"DecoratorController\",\ |
Setup etcdctl using the instructions at https://github.com/etcd-io/etcd/releases/tag/v3.4.13 (changed path to /usr/local/bin):
Note: if you want to match th etcdctl binaries with the embedded k3s etcd version, please run the curl command for getting the version first and adjust ETCD_VER below accordingly:
curl -L --cacert /var/lib/rancher/k3s/server/tls/etcd/server-ca.crt --cert /var/lib/rancher/k3s/server/tls/etcd/server-client.crt --key /var/lib/rancher/k3s/server/tls/etcd/server-client.key https://127.0.0.1:2379/version
This has been updated to install Dashboard v2.0.0, see below for pre v2.0.0 instructions
Generate the kubeconfig file for your cluster using the Kubeconfig File button in the Cluster view of your cluster.