overprovisioner
by stevehipwell
Helm chart for overprovisioning Kubernetes clusters.
About this chart
overprovisioner
Helm chart for overprovisioning Kubernetes clusters.
Homepage: https://github.com/stevehipwell/helm-charts/
Maintainers
| Name | Url | |
|---|---|---|
| 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
| Key | Type | Default | Description |
|---|---|---|---|
| autoscaler.affinity | object | {} | 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.pullPolicy | string | "IfNotPresent" | Image pull policy for the Autoscaler component default container. |
| autoscaler.image.repository | string | "registry.k8s.io/cpa/cluster-proportional-autoscaler" | Image repository for the Autoscaler component default container. |
| autoscaler.image.tag | string | "v1.9.0" | Image tag for the Autoscaler component default container. |
| autoscaler.logLevel | int | 2 | Log level for the Autoscaler component. |
| autoscaler.nodeSelector | object | {} | Node selector labels for scheduling the Autoscaler component. |
| autoscaler.podAnnotations | object | {} | Annotations to add to the Autoscaler pod. |
| autoscaler.podLabels | object | {} | Labels to add to the Autoscaler pod. |
| autoscaler.podSecurityContext | object | See values.yaml | Security context for the Autoscaler pod. |
| autoscaler.priorityClassName | string | nil | Priority class name for the Autoscaler pod. |
| autoscaler.resources | object | {} | Resources for the Autoscaler component default container. |
| autoscaler.securityContext | object | See values.yaml | Security context for the Autoscaler component default container. |
| autoscaler.serviceAccount.annotations | object | {} | Annotations to add to the Autoscaler service account. |
| autoscaler.serviceAccount.create | bool | true | If true, create a new ServiceAccount for the Autoscaler component. |
| autoscaler.serviceAccount.labels | object | {} | Labels to add to the Autoscaler service account. |
| autoscaler.serviceAccount.name | string | nil | If 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.terminationGracePeriodSeconds | int | nil | Termination grace period for the Autoscaler pod; in seconds. |
| autoscaler.tolerations | list | [] | Node taints the Autoscaler component will tolerate for scheduling. |
| autoscaler.topologySpreadConstraints | list | [] | 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.coresPerReplica | int | 4 | Number of pause pod replicas to create per cluster core; if capacity.mode is auto. |
| capacity.auto.maxReplicas | int | 1 | Maximum number of pause pod replicas to create; if capacity.mode is auto. |
| capacity.auto.minReplicas | int | 1 | Minimum number of pause pod replicas to create; if capacity.mode is auto. |
| capacity.auto.nodesPerReplica | int | 1 | Number of pause pod replicas to create per cluster node; if capacity.mode is auto. |
| capacity.fixed.replicas | int | 1 | Number of pause pod replicas to create; if capacity.mode is fixed. |
| capacity.mode | string | "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.resources | object | See values.yaml | Map of resources to provision. |
| commonLabels | object | {} | Labels to add to all chart resources. |
| fullnameOverride | string | nil | Override the full name of the chart. |
| imagePullSecrets | list | [] | Image pull secrets. |
| nameOverride | string | nil | Override the name of the chart. |
| pause.affinity | object | {} | 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.pullPolicy | string | "IfNotPresent" | Image pull policy for the Pause component default container. |
| pause.image.repository | string | "registry.k8s.io/pause" | Image repository for the Pause component default container. |
| pause.image.tag | float | 3.9 | Image tag for the Pause component default container. |
| pause.nodeSelector | object | {} | Node selector labels for scheduling the Pause component. |
| pause.podAnnotations | object | {} | Annotations to add to the Pause pod. |
| pause.podLabels | object | {} | Labels to add to the Pause pod. |
| pause.serviceAccount.annotations | object | {} | Annotations to add to the Pause service account. |
| pause.serviceAccount.create | bool | true | If true, create a new ServiceAccount for the Pause component. |
| pause.serviceAccount.labels | object | {} | Labels to add to the Pause service account. |
| pause.serviceAccount.name | string | nil | If 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.tolerations | list | [] | Node taints the Pause component will tolerate for scheduling. |
| pause.topologySpreadConstraints | list | [] | 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.annotations | object | {} | Annotations to add to the priority class. |
| priorityClass.create | bool | true | If true, create a new preemptible PriorityClass. |
| priorityClass.labels | object | {} | Labels to add to the priority class. |
| priorityClass.name | string | nil | If 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.value | int | -1 | Value 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartoverprovisioner is pinned at v0.5.0 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