worker
by genofire
Helm chartv0.1.0App 0.1.0
A deployment helm chart which will be used to deploy any type of stateless application
About this chart
Worker Deployment Helm Chart
A deployment helm chart which will be used to deploy any type of stateless application
Homepage: https://github.com/ot-container-kit/helm-charts
Maintainers
| Name | Url | |
|---|---|---|
| iamabhishek-dubey | [email protected] | https://github.com/iamabhishek-dubey |
Source Code
Requirements
| Repository | Name | Version |
|---|---|---|
| https://ot-container-kit.github.io/helm-charts | base | 0.1.0 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| autoscaling | object | {"enabled":false,"maxReplicas":50,"minReplicas":10,"targetCPUUtilizationPercentage":65,"targetMemoryUtilizationPercentage":65} | Autoscaling properties with target CPU and Memory details |
| base | object | {"image":{"command":[],"pullPolicy":"IfNotPresent","pullSecrets":"","repository":"nginx","tag":"latest"}} | Base block to define the inputs for image, secret and configmap env |
| base.image | object | {"command":[],"pullPolicy":"IfNotPresent","pullSecrets":"","repository":"nginx","tag":"latest"} | Image block with all image details |
| base.image.command | list | [] | Additional command arguments which needs to be passed |
| base.image.pullPolicy | string | "IfNotPresent" | Default image pull policy |
| base.image.pullSecrets | string | "" | Image pull secrets for private repository authentication |
| base.image.repository | string | "nginx" | Default image repository |
| base.image.tag | string | "latest" | Default image tag |
| replicaCount | int | 2 | Number of replicas for deployment, it will be overridden in case autoscaling is enabled |
| resources | object | {} | Kubernetes resource in terms of requests and limits |
| volumes | string | nil | Kubernetes volumes definition which needs to be mounted |
Deploy worker with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has worker 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 chartworker is pinned at v0.1.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