Skip to content

Commit

Permalink
fix affinity wrong nested level (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
petretiandrea authored Mar 11, 2024
1 parent f524619 commit d4eeee4
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions helm/rtd/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,27 @@ microservice-chart:
deployment:
replicas: 2

affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: node_type
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: node_type
operator: In
values:
- user
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: app.kubernetes.io/instance
operator: In
values:
- user
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: app.kubernetes.io/instance
operator: In
values:
- rtd-ms-sender-auth
namespaces: [ "rtd" ]
topologyKey: topology.kubernetes.io/zone
- rtd-ms-sender-auth
namespaces: [ "rtd" ]
topologyKey: topology.kubernetes.io/zone

envSecret:
aks-api-url: cstar-p-weu-prod01-aks-apiserver-url
Expand Down

0 comments on commit d4eeee4

Please sign in to comment.