Skip to content

Latest commit

 

History

History
95 lines (73 loc) · 5.71 KB

File metadata and controls

95 lines (73 loc) · 5.71 KB

cluster-overprovisioner

Version: 0.7.11 AppVersion: 3.9

This chart provide a buffer for cluster autoscaling to allow overprovisioning of cluster nodes. This is desired when you have work loads that need to scale up quickly without waiting for the new cluster nodes to be created and join the cluster.

It works by creating a deployment that creates pods of a lower than default PriorityClass. These pods request resources from the cluster but don't actually consume any resources. These pods are then evicted allowing other normal pods to be created while also triggering a scale-up by the cluster-autoscaler.

This approach is the current recommended method to achieve overprovisioning.

Homepage: https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler

How to install this chart

Add Delivery Hero public chart repo:

helm repo add deliveryhero https://charts.deliveryhero.io/

A simple install with default values:

helm install deliveryhero/cluster-overprovisioner

To install the chart with the release name my-release:

helm install my-release deliveryhero/cluster-overprovisioner

To install with some set values:

helm install my-release deliveryhero/cluster-overprovisioner --set values_key1=value1 --set values_key2=value2

To install with custom values file:

helm install my-release deliveryhero/cluster-overprovisioner -f values.yaml

Source Code

Values

Key Type Default Description
containerSecurityContext object {} Container security context object
deployments list [] Define optional additional deployments - A default deployment is included by default
deployments[0].affinity object {} Default Deployment - Map of node/pod affinities
deployments[0].annotations object {} Default Deployment - Annotations to add to the deployment
deployments[0].labels object {} Default Deployment - Optional labels tolerations
deployments[0].name string "default" Default Deployment - Name for additional deployments (will be added as label cluster-over-provisioner-name, so you can match it with affinity rules)
deployments[0].nodeSelector object {} Default Deployment - Node labels for pod assignment
deployments[0].pdb object {} Default Deployment - Optional PodDisruptionBudget
deployments[0].podAnnotations object {} Default Deployment - Annotations to add to the pods
deployments[0].replicaCount int 3 Default Deployment - Number of replicas
deployments[0].resources.limits.cpu string "1000m" Default Deployment - CPU limit for the overprovision pods
deployments[0].resources.limits.memory string "1000Mi" Default Deployment - Memory limit for the overprovision pods
deployments[0].resources.requests.cpu string "1000m" Default Deployment - CPU requested for the overprovision pods
deployments[0].resources.requests.memory string "1000Mi" Default Deployment - Memory requested for the overprovision pods
deployments[0].schedulerName string "" Default Deployment - Override the scheduler for overprovision pods
deployments[0].tolerations list [] Default Deployment - Optional deployment tolerations
deployments[0].topologySpreadConstraints list [] Default Deployment - Optional topology spread constraints
fullnameOverride string "" Override the fullname of the chart
image.args list [] Override container args
image.command list [] Override container command
image.pullPolicy string "IfNotPresent" Container pull policy
image.repository string "registry.k8s.io/pause" Image repository
image.tag string .Chart.AppVersion Image tag
nameOverride string "" Override the name of the chart
podSecurityContext object {} Pod security context object
priorityClassDefault.enabled bool true If true, enable default priorityClass
priorityClassDefault.name string "default" Name of the default priorityClass
priorityClassDefault.value int 0 Priority value of the default priorityClass
priorityClassOverprovision.name string "overprovisioning" Name of the overprovision priorityClass
priorityClassOverprovision.value int -1 Priority value of the overprovision priorityClass
serviceAccount.annotations object {} Additional Service Account annotations
serviceAccount.automountServiceAccountToken bool true Automount API credentials for a Service Account
serviceAccount.create bool true Determine whether a Service Account should be created or it should reuse an exiting one
serviceAccount.name string nil The name of the ServiceAccount to use. If not set and create is true, a name is generated using the fullname template

Maintainers

Name Email Url
max-rocket-internet [email protected]
mmingorance-dh [email protected]