diff --git a/gitea/actions/runner.yaml b/gitea/actions/runner.yaml index 70629c6..fa1dcd9 100644 --- a/gitea/actions/runner.yaml +++ b/gitea/actions/runner.yaml @@ -32,6 +32,13 @@ spec: spec: nodeSelector: nodepool: worker + topologySpreadConstraints: + - maxSkew: 1 + topologyKey: kubernetes.io/hostname + whenUnsatisfiable: DoNotSchedule + labelSelector: + matchLabels: + app: action-runner restartPolicy: Always volumes: - name: runner-data