refactor: configure affinity to arm nodes
All checks were successful
Renovate / renovate (push) Successful in 19s

This commit is contained in:
Peter 2023-11-25 12:36:07 +01:00
parent 9dfe4e632e
commit a16de1a6cb
No known key found for this signature in database
6 changed files with 63 additions and 2 deletions

View file

@ -105,3 +105,14 @@ gitea:
postgresql:
enabled: false
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
preference:
matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- arm64

View file

@ -56,6 +56,16 @@ spec:
limits:
memory: 100Mi
cpu: 20m
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- arm64
volumes:
- name: homepage-config
secret:

View file

@ -67,6 +67,16 @@ spec:
drop:
- ALL
readOnlyRootFilesystem: true
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- arm64
volumes:
- name: nocodb-metadata
persistentVolumeClaim:

View file

@ -72,6 +72,16 @@ spec:
runAsGroup: 1000
runAsUser: 1000
runAsNonRoot: false
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- arm64
volumes:
- name: vikunja-config
secret:

View file

@ -31,3 +31,13 @@ spec:
cpu: "50m"
ports:
- containerPort: 8080
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- arm64

View file

@ -41,6 +41,16 @@ spec:
drop:
- ALL
readOnlyRootFilesystem: true
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- arm64
volumes:
- name: temp
emptyDir: