kubeservice-scheduler-plus
deploy node-metrics, kubeservice-scheduler and kubeservice-scheduler-controller
About this chart
kubeservice-scheduler-plus
Kubeservice scheduler Plus is a Kubernetes scheduler which can schedule pod based on actual node load. Independent of Prometheus
This chart creates a [Kubeservice Crane scheduler Plus deployment on a Kubernetes cluster using the Helm package manager.
Introduction
This chart bootstraps Crane Scheduler on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.18+
- Helm 3+
Source Code
- https://github.com/kubeservice-stack/crane-scheduler
- https://github.com/kubeservice-stack/node-metrics
Add Helm repository
helm repo add kubeservice-stack https://kubeservice-stack.github.io/kubservice-charts
helm repo update
See helm repo for command documentation.
Install Chart
helm install [RELEASE_NAME] kubeservice-scheduler-plus
See configuration below.
See helm install for command documentation.
Uninstall Chart
helm uninstall [RELEASE_NAME]
This removes all the Kubernetes components associated with the chart and deletes the release.
See helm uninstall for command documentation.
Upgrading Chart
helm upgrade [RELEASE_NAME] [CHART] --install
See helm upgrade for command documentation.
Configuration
See Customizing the Chart Before Installing. To see all configurable options with detailed comments, visit the chart's values.yaml, or run these configuration commands:
# Helm 2
$ helm inspect values kubeservice-scheduler-plus
# Helm 3
$ helm show values kubeservice-scheduler-plus
See kubeservice-stack/crane-scheduler/README.md for further information.
Configuration
The following table lists the configurable parameters of the Crane-scheduler chart and their default values.
| Parameter | Description | Default |
|---|---|---|
scheduler.enable | Whether to deploy Scheduler | true |
scheduler.image.repository | Image name of Scheduler. | docker.io/dongjiang1989/crane-scheduler |
scheduler.image.tag | Image tag of Scheduler. Optional, given app version of Helm chart is used by default | main |
scheduler.replicaCount | Replica count of Scheduler | 1 |
controller.enable | Whether to deploy Scheduler-controller | true |
controller.image.repository | Image name of Scheduler-controller. | docker.io/dongjiang1989/crane-scheduler-controller |
controller.image.tag | Image tag of Scheduler-controller. Optional, given app version of Helm chart is used by default | main |
controller.replicaCount | Replica count of Scheduler-controller | 3 |
nodemetrics.enable | Whether to deploy node metrics | true |
nodemetrics.image.repository | Image name of node metrics. | docker.io/dongjiang1989/node-metrics |
nodemetrics.image.tag | Image tag of node metrics. Optional, given app version of Helm chart is used by default | latest |
global.port | node metrics port | 19101 |
Deploy kubeservice-scheduler-plus with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubeservice-scheduler-plus 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 chartkubeservice-scheduler-plus is pinned at v0.2.1 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