fix: Gitea | set topology spread on actions runners
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user