Update k8s/apps/gitea/deployment.yaml
All checks were successful
Check with kubeconform / lint (push) Successful in 19s

This commit is contained in:
ab
2025-09-09 19:59:24 +00:00
parent 4c571f63e7
commit 399833de34

View File

@@ -78,7 +78,7 @@ spec:
app: gitea-runner app: gitea-runner
spec: spec:
nodeSelector: nodeSelector:
kubernetes.io/hostname: nas.homenet kubernetes.io/hostname: home.homenet
volumes: volumes:
- name: docker-sock - name: docker-sock
hostPath: hostPath:
@@ -87,6 +87,39 @@ spec:
- name: runner-data - name: runner-data
emptyDir: emptyDir:
sizeLimit: 30Gi sizeLimit: 30Gi
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 3
preference:
matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- home.homenet
- weight: 1
preference:
matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- master.tail2fe2d.ts.net
- weight: 2
preference:
matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- nas.homenet
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- home.homenet
- nas.homenet
- master.tail2fe2d.ts.net
containers: containers:
- name: gitea-runner - name: gitea-runner
image: gitea/act_runner:nightly image: gitea/act_runner:nightly