mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-27 20:46:00 +02:00
fix: podAntiAffinity
This commit is contained in:
@@ -31,16 +31,6 @@ spec:
|
||||
replicaCount: 2
|
||||
replicaLabels:
|
||||
- replica
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
- labelSelector:
|
||||
matchExpressions:
|
||||
- key: app.kubernetes.io/name
|
||||
operator: In
|
||||
values:
|
||||
- thanos
|
||||
topologyKey: "kubernetes.io/hostname"
|
||||
compact:
|
||||
retentionResolution1h: 5y
|
||||
objstore:
|
||||
|
@@ -46,14 +46,16 @@ spec:
|
||||
cpu: 50m
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
- labelSelector:
|
||||
matchExpressions:
|
||||
- key: app.kubernetes.io/name
|
||||
operator: In
|
||||
values:
|
||||
- ingress-nginx
|
||||
topologyKey: "kubernetes.io/hostname"
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 100
|
||||
podAffinityTerm:
|
||||
labelSelector:
|
||||
matchExpressions:
|
||||
- key: app.kubernetes.io/name
|
||||
operator: In
|
||||
values:
|
||||
- ingress-nginx
|
||||
topologyKey: kubernetes.io/hostname
|
||||
defaultBackend:
|
||||
enabled: true
|
||||
image:
|
||||
|
Reference in New Issue
Block a user