From 77df6869819d0f84e04deb73f0e1aadd8a92e0b6 Mon Sep 17 00:00:00 2001 From: panxiao81 Date: Mon, 14 Sep 2026 14:51:37 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20=E5=90=91=20kind=20node=20=E6=8F=90?= =?UTF-8?q?=E4=BE=9B=20guest=20kmsg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/kind-on-kata-smoke.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/kind-on-kata-smoke.yml b/.gitea/workflows/kind-on-kata-smoke.yml index 6c0cbaa..816bb7d 100644 --- a/.gitea/workflows/kind-on-kata-smoke.yml +++ b/.gitea/workflows/kind-on-kata-smoke.yml @@ -33,7 +33,17 @@ jobs: } trap cleanup EXIT - kind create cluster --name nested --image "$KIND_NODE_IMAGE" --wait 5m + cat >/tmp/kind-config.yaml <<'EOF' + kind: Cluster + apiVersion: kind.x-k8s.io/v1alpha4 + name: nested + nodes: + - role: control-plane + extraMounts: + - hostPath: /dev/kmsg + containerPath: /dev/kmsg + EOF + kind create cluster --config /tmp/kind-config.yaml --image "$KIND_NODE_IMAGE" --wait 5m docker exec nested-control-plane kubectl \ --kubeconfig=/etc/kubernetes/admin.conf wait \ --for=condition=Ready node/nested-control-plane --timeout=2m