Helm chart for koptimize. Note, that
while the Helm chart is open source and the Docker image is public, the code for
koptimize itself is private.
koptimize aims at reducing cost of a Kubernetes cluster, going further than, for
example, the cluster autoscaler.
Features
A mutating webhook, that forces workloads (that tolerate spot instances) onto
spot instances. This is helpful, to ramp up spot instance usage. Example:
Specifies whether a service account should be created
true
serviceAccount.annotations
Annotations to add to the service account
{}
serviceAccount.name
The name of the service account to use.
""
Service parameters
Name
Description
Value
service.type
The service type
ClusterIP
service.port
The service port
443
service.targetPort
The service target port
9443
service.annotations
Annotations to add to the service
{}
Autoscaling parameters
Name
Description
Value
autoscaling.enabled
Enabled autoscaling
false
autoscaling.minReplicas
Min number of replicas
1
autoscaling.maxReplicas
Max number of replicas
100
autoscaling.targetCPUUtilizationPercentage
Target CPU utilization percentage
80
Pod Disruption Budget
Name
Description
Value
podDisruptionBudget
Pod Disruption Budget parameters
{}
Service Monitor parameters
Name
Description
Value
serviceMonitor.create
Enable or disable the Service Monitor creation
false
serviceMonitor.interval
Scrape interval
10s
serviceMonitor.scrapeTimeout
Scrape timeout
10s
This section is generated using metadata from values.yaml!
Deploy koptimize with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has koptimize 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 chartkoptimize is pinned at v0.5.4 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