--- apiVersion: apps/v1 kind: StatefulSet metadata: name: act-runner-arm64 spec: selector: matchLabels: app.kubernetes.io/name: act-runner app.kubernetes.io/instance: arm64 serviceName: act-runner replicas: 2 template: metadata: labels: app.kubernetes.io/name: act-runner app.kubernetes.io/instance: arm64 spec: restartPolicy: Always initContainers: - name: runner-registration image: docker.io/alpine:3.18 command: - /bin/ash - -c - "cp /etc/act/`hostname` /data/.runner" volumeMounts: - name: runner-data mountPath: /data - name: runner-registrations mountPath: /etc/act containers: - name: runner image: act_runner imagePullPolicy: Always command: ["sh", "-c", "while ! nc -z localhost 2376