Skip to content

Commit c7ea66f

Browse files
authored
#108 fixed affinity for the node termination handler (#109)
1 parent 61f0879 commit c7ea66f

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed
Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
enableSpotInterruptionDraining: true
22
enableRebalanceMonitoring: true
3-
nodeSelector:
4-
eks.amazonaws.com/capacityType: SPOT
3+
4+
affinity:
5+
nodeAffinity:
6+
requiredDuringSchedulingIgnoredDuringExecution:
7+
nodeSelectorTerms:
8+
- matchExpressions:
9+
- key: eks.amazonaws.com/capacityType
10+
operator: In
11+
values:
12+
- SPOT
13+
- key: eks.amazonaws.com/nodegroup
14+
operator: DoesNotExist

0 commit comments

Comments
 (0)