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

NameEmailUrl
iamabhishek-dubey[email protected]https://github.com/iamabhishek-dubey

Source Code

Requirements

RepositoryNameVersion
https://ot-container-kit.github.io/helm-chartsbase0.1.0

Values

KeyTypeDefaultDescription
autoscalingobject{"enabled":false,"maxReplicas":50,"minReplicas":10,"targetCPUUtilizationPercentage":65,"targetMemoryUtilizationPercentage":65}Autoscaling properties with target CPU and Memory details
baseobject{"image":{"command":[],"pullPolicy":"IfNotPresent","pullSecrets":"","repository":"nginx","tag":"latest"}}Base block to define the inputs for image, secret and configmap env
base.imageobject{"command":[],"pullPolicy":"IfNotPresent","pullSecrets":"","repository":"nginx","tag":"latest"}Image block with all image details
base.image.commandlist[]Additional command arguments which needs to be passed
base.image.pullPolicystring"IfNotPresent"Default image pull policy
base.image.pullSecretsstring""Image pull secrets for private repository authentication
base.image.repositorystring"nginx"Default image repository
base.image.tagstring"latest"Default image tag
replicaCountint2Number of replicas for deployment, it will be overridden in case autoscaling is enabled
resourcesobject{}Kubernetes resource in terms of requests and limits
volumesstringnilKubernetes 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartworker is pinned at v0.1.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