refactor: configure affinity to arm nodes

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
homepage/resources

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: