From d847db3d4f9707e7053911301a48f6f96c74d408 Mon Sep 17 00:00:00 2001 From: Martin <1403951401@qq.com> Date: Sat, 10 May 2025 17:44:12 +0800 Subject: [PATCH] =?UTF-8?q?[+]=20=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- k3s-canton.yaml | 175 ++++++++++++++++++++++++++++++++++++++++++++++++ k3s-de.yaml | 175 ++++++++++++++++++++++++++++++++++++++++++++++++ k3s-hk.yaml | 175 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 525 insertions(+) create mode 100644 k3s-canton.yaml create mode 100644 k3s-de.yaml create mode 100644 k3s-hk.yaml diff --git a/k3s-canton.yaml b/k3s-canton.yaml new file mode 100644 index 0000000..494edee --- /dev/null +++ b/k3s-canton.yaml @@ -0,0 +1,175 @@ + +--- +kind: StatefulSet +apiVersion: apps/v1 +metadata: + name: k3s-canton-act-runner + namespace: gitea + labels: + app: act-runner + k8s.kuboard.cn/name: act-runner +spec: + replicas: 2 + selector: + matchLabels: + app: act-runner + template: + metadata: + creationTimestamp: null + labels: + app: act-runner + spec: + volumes: + - name: docker-certs + emptyDir: {} + - name: config + configMap: + name: action + items: + - key: config + path: config.yaml + defaultMode: 420 + containers: + - name: runner + image: 'docker.martin98.com/library/gitea/act_runner:nightly' + command: + - sh + - '-c' + - > + while ! nc -z localhost 2376 + while ! nc -z localhost 2376 + while ! nc -z localhost 2376