From ff0d40b8ff70a0fe2f5e370751efbbbac61b377d Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Wed, 19 Nov 2025 18:06:49 +0900 Subject: [PATCH] docs: kubernetes: add RKE2 example Signed-off-by: Akihiro Suda --- templates/README.md | 1 + .../en/docs/examples/containers/kubernetes/_index.md | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/templates/README.md b/templates/README.md index a4639966ee6..2ef7cf165cd 100644 --- a/templates/README.md +++ b/templates/README.md @@ -60,6 +60,7 @@ Container orchestration: - [`k0s`](./k0s.yaml): [k0s](https://k0sproject.io/) Zero Friction Kubernetes - [`k3s`](./k3s.yaml): Kubernetes via k3s - [`k8s`](./k8s.yaml): ⭐Kubernetes via kubeadm +- [`experimental/rke2`](./experimental/rke2.yaml): RKE2 - [`experimental/u7s`](./experimental/u7s.yaml): [Usernetes](https://github.com/rootless-containers/usernetes): Rootless Kubernetes Optional feature enablers: diff --git a/website/content/en/docs/examples/containers/kubernetes/_index.md b/website/content/en/docs/examples/containers/kubernetes/_index.md index 67789973563..5c09d9d2797 100644 --- a/website/content/en/docs/examples/containers/kubernetes/_index.md +++ b/website/content/en/docs/examples/containers/kubernetes/_index.md @@ -39,6 +39,16 @@ kubectl create service nodeport nginx --node-port=31080 --tcp=80:80 See also . {{% /tab %}} +{{% tab header="RKE2" %}} +```bash +limactl start template://experimental/rke2 +export KUBECONFIG=$(limactl list rke2 --format 'unix://{{.Dir}}/copied-from-guest/kubeconfig.yaml') +kubectl create deployment nginx --image nginx:alpine +kubectl create service nodeport nginx --node-port=31080 --tcp=80:80 +``` + +See also . +{{% /tab %}} {{% tab header="Usernetes" %}} ```bash limactl start template://experimental/u7s