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: postgresql:
enabled: false 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: limits:
memory: 100Mi memory: 100Mi
cpu: 20m cpu: 20m
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- arm64
volumes: volumes:
- name: homepage-config - name: homepage-config
secret: secret:

View file

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

View file

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

View file

@ -31,3 +31,13 @@ spec:
cpu: "50m" cpu: "50m"
ports: ports:
- containerPort: 8080 - 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: drop:
- ALL - ALL
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: kubernetes.io/arch
operator: In
values:
- arm64
volumes: volumes:
- name: temp - name: temp
emptyDir: emptyDir: