refactor: configure affinity to arm nodes
All checks were successful
Renovate / renovate (push) Successful in 19s
All checks were successful
Renovate / renovate (push) Successful in 19s
This commit is contained in:
parent
9dfe4e632e
commit
a16de1a6cb
6 changed files with 63 additions and 2 deletions
|
@ -104,4 +104,15 @@ gitea:
|
|||
|
||||
|
||||
postgresql:
|
||||
enabled: false
|
||||
enabled: false
|
||||
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 1
|
||||
preference:
|
||||
matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- arm64
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -30,4 +30,14 @@ spec:
|
|||
memory: "128Mi"
|
||||
cpu: "50m"
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
- containerPort: 8080
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 100
|
||||
preference:
|
||||
matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values:
|
||||
- arm64
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue