web

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

Web 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
healthcheckobject{"enabled":true,"statusPath":"/"}Healthcheck details for readiness and liveness probe
healthcheck.enabledbooltrueHealthcheck is enabled or not
healthcheck.statusPathstring"/"Healthcheck status path on status will be checked
ingressobject{"annotations":{"ingress.gcp.kubernetes.io/pre-shared-cert":"global-sign-opstree-com-2024","kubernetes.io/ingress.allow-http":"false"},"class":"nginx","enabled":false}Ingress details with class, annotations and rules
internalIngressobject{"annotations":{"kubernetes.io/ingress.allow-http":"true"},"class":"nginx-internal","enabled":false}Internal ingress details with class, annotations and rules
replicaCountint2Number of replicas for deployment, it will be overridden in case autoscaling is enabled
resourcesobject{}Kubernetes resource in terms of requests and limits
serviceobject{"port":80,"type":"ClusterIP"}Service specification details with port and type
service.typestring"ClusterIP"Prometheus metrics to expose metrics on path with port metrics: path: /v1/metrics port: 8081
volumesstringnilKubernetes volumes definition which needs to be mounted

Deploy web with OpenTenant

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