overprovisioner

by stevehipwell

Helm chartv0.5.0App 0.5.0Verified publisher

Helm chart for overprovisioning Kubernetes clusters.

About this chart

overprovisioner

Helm chart for overprovisioning Kubernetes clusters.

Homepage: https://github.com/stevehipwell/helm-charts/

Maintainers

NameEmailUrl
stevehipwell[email protected]

Source Code

Installing the Chart

OCI Repository

To install the chart using the recommended OCI method you can use the following command.

helm upgrade --install overprovisioner oci://ghcr.io/stevehipwell/helm-charts/overprovisioner --version 0.5.0

Verification

As the OCI chart release is signed by Cosign you can verify the chart before installing it by running the following command.

cosign verify --certificate-oidc-issuer https://token.actions.githubusercontent.com --certificate-identity-regexp 'https://github\.com/action-stars/helm-workflows/\.github/workflows/release\.yaml@.+' --certificate-github-workflow-repository stevehipwell/helm-charts --certificate-github-workflow-name Release ghcr.io/stevehipwell/helm-charts/overprovisioner:0.5.0

Non-OCI Repository

Alternatively you can use the legacy non-OCI method via the following commands.

helm repo add stevehipwell https://stevehipwell.github.io/helm-charts/
helm upgrade --install overprovisioner stevehipwell/overprovisioner --version 0.5.0

Values

KeyTypeDefaultDescription
autoscaler.affinityobject{}Affinity settings for scheduling the Autoscaler component. If an explicit label selector is not provided for pod affinity or pod anti-affinity one will be created from the pod selector labels.
autoscaler.image.pullPolicystring"IfNotPresent"Image pull policy for the Autoscaler component default container.
autoscaler.image.repositorystring"registry.k8s.io/cpa/cluster-proportional-autoscaler"Image repository for the Autoscaler component default container.
autoscaler.image.tagstring"v1.9.0"Image tag for the Autoscaler component default container.
autoscaler.logLevelint2Log level for the Autoscaler component.
autoscaler.nodeSelectorobject{}Node selector labels for scheduling the Autoscaler component.
autoscaler.podAnnotationsobject{}Annotations to add to the Autoscaler pod.
autoscaler.podLabelsobject{}Labels to add to the Autoscaler pod.
autoscaler.podSecurityContextobjectSee values.yamlSecurity context for the Autoscaler pod.
autoscaler.priorityClassNamestringnilPriority class name for the Autoscaler pod.
autoscaler.resourcesobject{}Resources for the Autoscaler component default container.
autoscaler.securityContextobjectSee values.yamlSecurity context for the Autoscaler component default container.
autoscaler.serviceAccount.annotationsobject{}Annotations to add to the Autoscaler service account.
autoscaler.serviceAccount.createbooltrueIf true, create a new ServiceAccount for the Autoscaler component.
autoscaler.serviceAccount.labelsobject{}Labels to add to the Autoscaler service account.
autoscaler.serviceAccount.namestringnilIf this is set and pause.serviceAccount.create is true this will be used for the created Autoscaler service account name, if this is set and pause.serviceAccount.create is false then this will define an existing service account to use.
autoscaler.terminationGracePeriodSecondsintnilTermination grace period for the Autoscaler pod; in seconds.
autoscaler.tolerationslist[]Node taints the Autoscaler component will tolerate for scheduling.
autoscaler.topologySpreadConstraintslist[]Topology spread constraints for scheduling for the Autoscaler component. If an explicit label selector is not provided one will be created from the pod selector labels.
capacity.auto.coresPerReplicaint4Number of pause pod replicas to create per cluster core; if capacity.mode is auto.
capacity.auto.maxReplicasint1Maximum number of pause pod replicas to create; if capacity.mode is auto.
capacity.auto.minReplicasint1Minimum number of pause pod replicas to create; if capacity.mode is auto.
capacity.auto.nodesPerReplicaint1Number of pause pod replicas to create per cluster node; if capacity.mode is auto.
capacity.fixed.replicasint1Number of pause pod replicas to create; if capacity.mode is fixed.
capacity.modestring"fixed"Capacity mode to use; one of fixed or auto. If auto is used, a cluster-proportional-autoscaler deployment will be used to scale the pause pods
capacity.resourcesobjectSee values.yamlMap of resources to provision.
commonLabelsobject{}Labels to add to all chart resources.
fullnameOverridestringnilOverride the full name of the chart.
imagePullSecretslist[]Image pull secrets.
nameOverridestringnilOverride the name of the chart.
pause.affinityobject{}Affinity settings for scheduling the Pause component. If an explicit label selector is not provided for pod affinity or pod anti-affinity one will be created from the pod selector labels.
pause.image.pullPolicystring"IfNotPresent"Image pull policy for the Pause component default container.
pause.image.repositorystring"registry.k8s.io/pause"Image repository for the Pause component default container.
pause.image.tagfloat3.9Image tag for the Pause component default container.
pause.nodeSelectorobject{}Node selector labels for scheduling the Pause component.
pause.podAnnotationsobject{}Annotations to add to the Pause pod.
pause.podLabelsobject{}Labels to add to the Pause pod.
pause.serviceAccount.annotationsobject{}Annotations to add to the Pause service account.
pause.serviceAccount.createbooltrueIf true, create a new ServiceAccount for the Pause component.
pause.serviceAccount.labelsobject{}Labels to add to the Pause service account.
pause.serviceAccount.namestringnilIf this is set and pause.serviceAccount.create is true this will be used for the created Pause service account name, if this is set and pause.serviceAccount.create is false then this will define an existing service account to use.
pause.tolerationslist[]Node taints the Pause component will tolerate for scheduling.
pause.topologySpreadConstraintslist[]Topology spread constraints for scheduling for the Pause component. If an explicit label selector is not provided one will be created from the pod selector labels.
priorityClass.annotationsobject{}Annotations to add to the priority class.
priorityClass.createbooltrueIf true, create a new preemptible PriorityClass.
priorityClass.labelsobject{}Labels to add to the priority class.
priorityClass.namestringnilIf this is set and priorityClass.create is true this will be used for the created priority class name, if set and priorityClass.create is false then this will define an existing priority class to use.
priorityClass.valueint-1Value for the priority class.

Autogenerated from chart metadata using helm-docs.

Deploy overprovisioner with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has overprovisioner 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartoverprovisioner is pinned at v0.5.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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