spot-scheduler
by Helm
Helm chartv0.1.2App 1.0
An extended Kubernetes scheduler that is able to schedule pods based on spot-instance related attributes
About this chart
Spot scheduler
This chart will install BanzaiCloud's spot-affinity scheduler, a fork of the default Kubernetes scheduler, that is able to schedule a set percent of replicas of a Kubernetes deployment to on-demand AWS instances.
Installing the Chart
$ helm repo add banzaicloud-stable http://kubernetes-charts.banzaicloud.com/branch/master
$ helm repo update
$ helm install --name <name> banzaicloud-stable/spot-scheduler
Configuration
The following tables lists configurable parameters of the anchore-policy-validator chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| replicaCount | number of replicas | 1 |
| image.repository | image repo that contains the scheduler | banzaicloud/spot-scheduler |
| image.tag | image tag | 1.10.3 |
| image.pullPolicy | image pull policy | IfNotPresent |
| extraArgs | map of extra args to add to the scheduler | feature-gates: PersistentLocalVolumes=false,VolumeScheduling=false |
| resources | resources to request | {} |
| nodeSelector | node selector to use | {} |
| tolerations | tolerations to add | [] |
| affinity | affinities to use | {} |
| rbac.enabled | RBAC | true |
| rbac.psp.enabled | PSP enabled | false |
Deploy spot-scheduler with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has spot-scheduler on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartspot-scheduler is pinned at v0.1.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply