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