-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
POC of Market Based Pricing #4070
Conversation
* proto * price to scheduler * wip * Update README.md * wip * wip * wip --------- Co-authored-by: Chris Martin <[email protected]> Co-authored-by: Chris Martin <[email protected]>
@@ -8,7 +8,7 @@ | |||
<env name="ARMADA_EXECUTORAPICONNECTION_FORCENOTLS" value="true" /> | |||
<env name="ARMADA_HTTPPORT" value="8085" /> | |||
<env name="HOME" value="$USER_HOME$/" /> | |||
<env name="KUBECONFIG" value="$PROJECT_DIR$/.kube/internal/config" /> | |||
<env name="KUBECONFIG" value="$PROJECT_DIR$/.kube/external/config" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is intentional. The run config for the executor is incorrect as internal
will attempt to connect via the kind network, which won't work from Goland. external
will attempt to connect on loclahost which is correct.
@@ -3,6 +3,8 @@ apiVersion: kind.x-k8s.io/v1alpha4 | |||
name: armada-test | |||
featureGates: | |||
"KubeletInUserNamespace": true | |||
networking: | |||
apiServerAddress: 0.0.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is intentional. WIthout this the kubeconfig
produced by kind will list the address as 0.0.0.0
but a cert that is valid for 127.0.0.1
. Settting the apiServerAddress
explicitly ensures that kubeconfig alligns with cert.
Proof Of Concept Of Market Based Pricing. Main changes are as follows:
ExperimentalPricingInfo
section added. This allows aBidPrice
to be set.MarketDriven
. If this flag is set then the pool will be use price-based scheduling rahter than fair-share-based scheduling.MarketDriven
pools aSpotPrice
metric is produced. This will be zero if the pool is less than 95% utilized, otherswise it will be eqaul to the lowest priced job (running or scheduled).