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
| 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 |
| healthcheck | object | {"enabled":true,"statusPath":"/"} | Healthcheck details for readiness and liveness probe |
| healthcheck.enabled | bool | true | Healthcheck is enabled or not |
| healthcheck.statusPath | string | "/" | Healthcheck status path on status will be checked |
| ingress | object | {"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 |
| internalIngress | object | {"annotations":{"kubernetes.io/ingress.allow-http":"true"},"class":"nginx-internal","enabled":false} | Internal ingress details with class, annotations and rules |
| 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 |
| service | object | {"port":80,"type":"ClusterIP"} | Service specification details with port and type |
| service.type | string | "ClusterIP" | Prometheus metrics to expose metrics on path with port metrics: path: /v1/metrics port: 8081 |
| volumes | string | nil | Kubernetes 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartweb 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