File tree Expand file tree Collapse file tree 5 files changed +10
-21
lines changed
roles/vdm/templates/transformers Expand file tree Collapse file tree 5 files changed +10
-21
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,10 @@ patch: |-
3030 requiredDuringSchedulingIgnoredDuringExecution:
3131 nodeSelectorTerms:
3232 - matchExpressions:
33- - key: workload.sas.com/class
33+ - key: agentpool
3434 operator: In
3535 values:
3636 - stateful
37- - key: agentpool
38- operator: Exists
3937 podAntiAffinity:
4038 requiredDuringSchedulingIgnoredDuringExecution:
4139 - labelSelector:
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ patch: |-
2424 - weight: 100
2525 preference:
2626 matchExpressions:
27- - key: workload.sas.com/class
27+ - key: agentpool
2828 operator: In
2929 values:
3030 - stateful
Original file line number Diff line number Diff line change @@ -29,12 +29,10 @@ patch: |-
2929 requiredDuringSchedulingIgnoredDuringExecution:
3030 nodeSelectorTerms:
3131 - matchExpressions:
32- - key: workload.sas.com/class
32+ - key: agentpool
3333 operator: In
3434 values:
3535 - stateful
36- - key: agentpool
37- operator: Exists
3836 podAntiAffinity:
3937 requiredDuringSchedulingIgnoredDuringExecution:
4038 - labelSelector:
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ patch: |-
1515 whenUnsatisfiable: ScheduleAnyway
1616 labelSelector:
1717 matchLabels:
18- app: sas-rabbitmq-server
18+ app.kubernetes.io/name : sas-rabbitmq-server
1919 - op: add
2020 path: /spec/template/spec/affinity
2121 value:
@@ -24,7 +24,7 @@ patch: |-
2424 - weight: 100
2525 preference:
2626 matchExpressions:
27- - key: workload.sas.com/class
27+ - key: agentpool
2828 operator: In
2929 values:
3030 - stateful
@@ -34,7 +34,7 @@ patch: |-
3434 podAffinityTerm:
3535 labelSelector:
3636 matchLabels:
37- app: sas-rabbitmq-server
37+ app.kubernetes.io/name : sas-rabbitmq-server
3838 topologyKey: kubernetes.io/hostname
3939target :
4040 kind : StatefulSet
Original file line number Diff line number Diff line change @@ -15,38 +15,31 @@ patch: |-
1515 whenUnsatisfiable: DoNotSchedule
1616 labelSelector:
1717 matchLabels:
18- app: sas-rabbitmq-server
18+ app.kubernetes.io/name : sas-rabbitmq-server
1919 - maxSkew: 1
2020 topologyKey: kubernetes.io/hostname
2121 whenUnsatisfiable: DoNotSchedule
2222 labelSelector:
2323 matchLabels:
24- app: sas-rabbitmq-server
24+ app.kubernetes.io/name : sas-rabbitmq-server
2525 - op: add
2626 path: /spec/template/spec/affinity
2727 value:
2828 nodeAffinity:
2929 requiredDuringSchedulingIgnoredDuringExecution:
3030 nodeSelectorTerms:
3131 - matchExpressions:
32- - key: workload.sas.com/class
32+ - key: agentpool
3333 operator: In
3434 values:
3535 - stateful
36- - key: agentpool
37- operator: Exists
3836 podAntiAffinity:
39- requiredDuringSchedulingIgnoredDuringExecution:
40- - labelSelector:
41- matchLabels:
42- app: sas-rabbitmq-server
43- topologyKey: topology.kubernetes.io/zone
4437 preferredDuringSchedulingIgnoredDuringExecution:
4538 - weight: 100
4639 podAffinityTerm:
4740 labelSelector:
4841 matchLabels:
49- app: sas-rabbitmq-server
42+ app.kubernetes.io/name : sas-rabbitmq-server
5043 topologyKey: kubernetes.io/hostname
5144target :
5245 kind : StatefulSet
You can’t perform that action at this time.
0 commit comments