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
I have set a node group to include at least one on-demand instance and additional spot instances.
During cost calculation cortex assumes I have only spot instances and thus reports lower costs.
Setup cluster to to have a node group configured with "spot: True" and "on_demand_base_capacity: 1".
Deploy an api in this cluster so that at least one pod is deployed. Check price for this instance.
Expected behavior
The price for running one node should be the price listed for an on-demand instance.
Actual behavior
The price is a spot-instance price.
Suggested solution
Presumably during cost calculation only the flag "spot: True" is used. Instead the cost per instance needs to be queried from AWS.
The text was updated successfully, but these errors were encountered:
Version
master (commit: 0657881)
Description
I have set a node group to include at least one on-demand instance and additional spot instances.
During cost calculation cortex assumes I have only spot instances and thus reports lower costs.
Configuration
relevant part in cluster.yaml:
Steps to reproduce
Setup cluster to to have a node group configured with "spot: True" and "on_demand_base_capacity: 1".
Deploy an api in this cluster so that at least one pod is deployed. Check price for this instance.
Expected behavior
The price for running one node should be the price listed for an on-demand instance.
Actual behavior
The price is a spot-instance price.
Suggested solution
Presumably during cost calculation only the flag "spot: True" is used. Instead the cost per instance needs to be queried from AWS.
The text was updated successfully, but these errors were encountered: