You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have below configuration for priority expander configmap and set --max-node-provision-time=5m0s.
priorities: |-
30:
- .*
40:
- .*OnDemand0.*
- .*OnDemand1.*
- .*OnDemand2.*
50:
- .*Spot0.*
- .*Spot1.*
- .*Spot2.*
CAS tries MediumDevNodeSpot1AutoScalingGroup and then marks it is not ready for scale up after 5 minutes.
Then it tries MediumDevNodeSpot0AutoScalingGroup and then marks it is not ready for scale up after 5 minutes.
Then again it tries MediumDevNodeSpot1AutoScalingGroup instead of moving to next one. Also this Indicates it is marking it as healthy again after 5 minutes and trying it.
Issue: This way, it is just stuck in loop for Spot0, Spot1, Spot2 and not going to OnDemand ASGs.
Questions:
Is their a way to make them as "not ready for scale up" for more than 5 minutes?
If no spot is present, can we move to next priority order in 30s/1 minute instead of waiting for 5 minutes(max-node-provision-time)?
Logs:
I0610 07:00:18.588135 1 priority.go:114] Successfully loaded priority configuration from configmap.
I0610 07:00:18.588420 1 priority.go:163] priority expander: MediumDevNodeSpot0AutoScalingGroup chosen as the highest available
I0610 07:00:18.588447 1 priority.go:163] priority expander: MediumDevNodeSpot1AutoScalingGroup chosen as the highest available
I0610 07:00:18.588458 1 priority.go:163] priority expander: MediumDevNodeSpot2AutoScalingGroup chosen as the highest available
I0610 07:00:18.588477 1 scale_up.go:468] Best option to resize: MediumDevNodeSpot1AutoScalingGroup
....
W0610 07:05:34.183561 1 scale_up.go:399] Node group MediumDevNodeSpot1AutoScalingGroup is not ready for scaleup - backoff
I0610 07:06:05.083339 1 priority.go:114] Successfully loaded priority configuration from configmap.
I0610 07:06:05.083595 1 priority.go:163] priority expander: MediumDevNodeSpot2AutoScalingGroup chosen as the highest available
I0610 07:06:05.083612 1 priority.go:163] priority expander: MediumDevNodeSpot0AutoScalingGroup chosen as the highest available
I0610 07:06:05.083630 1 scale_up.go:468] Best option to resize: MediumDevNodeSpot0AutoScalingGroup
....
W0610 07:10:19.431745 1 scale_up.go:399] Node group MediumDevNodeSpot1AutoScalingGroup is not ready for scaleup - backoff
W0610 07:11:20.558658 1 scale_up.go:399] Node group MediumDevNodeSpot0AutoScalingGroup is not ready for scaleup - backoff
....
I0610 07:11:20.582503 1 priority.go:114] Successfully loaded priority configuration from configmap.
I0610 07:11:20.582670 1 priority.go:163] priority expander: MediumDevNodeSpot1AutoScalingGroup chosen as the highest available
I0610 07:11:20.582688 1 priority.go:163] priority expander: MediumDevNodeSpot2AutoScalingGroup chosen as the highest available
I0610 07:11:20.582706 1 scale_up.go:468] Best option to resize: MediumDevNodeSpot1AutoScalingGroup
The text was updated successfully, but these errors were encountered:
We have below configuration for priority expander configmap and set
--max-node-provision-time=5m0s
.priorities: |-
30:
- .*
40:
- .*OnDemand0.*
- .*OnDemand1.*
- .*OnDemand2.*
50:
- .*Spot0.*
- .*Spot1.*
- .*Spot2.*
CAS tries MediumDevNodeSpot1AutoScalingGroup and then marks it is not ready for scale up after 5 minutes.
Then it tries MediumDevNodeSpot0AutoScalingGroup and then marks it is not ready for scale up after 5 minutes.
Then again it tries MediumDevNodeSpot1AutoScalingGroup instead of moving to next one. Also this Indicates it is marking it as healthy again after 5 minutes and trying it.
Issue: This way, it is just stuck in loop for Spot0, Spot1, Spot2 and not going to OnDemand ASGs.
Questions:
Logs:
I0610 07:00:18.588135 1 priority.go:114] Successfully loaded priority configuration from configmap.
I0610 07:00:18.588420 1 priority.go:163] priority expander: MediumDevNodeSpot0AutoScalingGroup chosen as the highest available
I0610 07:00:18.588447 1 priority.go:163] priority expander: MediumDevNodeSpot1AutoScalingGroup chosen as the highest available
I0610 07:00:18.588458 1 priority.go:163] priority expander: MediumDevNodeSpot2AutoScalingGroup chosen as the highest available
I0610 07:00:18.588477 1 scale_up.go:468] Best option to resize: MediumDevNodeSpot1AutoScalingGroup
....
W0610 07:05:34.183561 1 scale_up.go:399] Node group MediumDevNodeSpot1AutoScalingGroup is not ready for scaleup - backoff
I0610 07:06:05.083339 1 priority.go:114] Successfully loaded priority configuration from configmap.
I0610 07:06:05.083595 1 priority.go:163] priority expander: MediumDevNodeSpot2AutoScalingGroup chosen as the highest available
I0610 07:06:05.083612 1 priority.go:163] priority expander: MediumDevNodeSpot0AutoScalingGroup chosen as the highest available
I0610 07:06:05.083630 1 scale_up.go:468] Best option to resize: MediumDevNodeSpot0AutoScalingGroup
....
W0610 07:10:19.431745 1 scale_up.go:399] Node group MediumDevNodeSpot1AutoScalingGroup is not ready for scaleup - backoff
W0610 07:11:20.558658 1 scale_up.go:399] Node group MediumDevNodeSpot0AutoScalingGroup is not ready for scaleup - backoff
....
I0610 07:11:20.582503 1 priority.go:114] Successfully loaded priority configuration from configmap.
I0610 07:11:20.582670 1 priority.go:163] priority expander: MediumDevNodeSpot1AutoScalingGroup chosen as the highest available
I0610 07:11:20.582688 1 priority.go:163] priority expander: MediumDevNodeSpot2AutoScalingGroup chosen as the highest available
I0610 07:11:20.582706 1 scale_up.go:468] Best option to resize: MediumDevNodeSpot1AutoScalingGroup
The text was updated successfully, but these errors were encountered: