feat(forgejo): configure anti-affinity and node selector
All checks were successful
Renovate / renovate (push) Successful in 46s

This commit is contained in:
Peter 2024-05-08 15:01:27 +02:00
parent be09a12730
commit 135eb0aec2
Signed by: prskr
GPG key ID: F56BED6903BC5E37
2 changed files with 16 additions and 10 deletions

View file

@ -87,15 +87,18 @@ spec:
mountPath: /data
securityContext:
fsGroup: 1000
nodeSelector:
kubernetes.io/arch: amd64
affinity:
nodeAffinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/arch
- topologyKey: kubernetes.io/hostname
labelSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: In
values:
- amd64
- act-runner
volumes:
- name: runner-data
emptyDir:

View file

@ -88,15 +88,18 @@ spec:
mountPath: /data
securityContext:
fsGroup: 1000
nodeSelector:
kubernetes.io/arch: arm64
affinity:
nodeAffinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/arch
- topologyKey: kubernetes.io/hostname
labelSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: In
values:
- arm64
- act-runner
volumes:
- name: runner-data
emptyDir: