demo-backend
by yushiwho
A helm chart for backend demo
About this chart
demo-backend
demo-backend for React
a demo-backend Flask Web App
QuickStart
$ helm repo add demo-backend https://yushiwho.github.io/charts
$ helm repo update
$ helm install my-release demo-backend/demo-backend --namespace demo-backend
Introduction
This chart deploys a python app
Prerequisites
- Kubernetes 1.24+
Installing the Chart
To install the chart with the release name my-release:
$ helm install my-release demo-backend/demo-backend --namespace demo-backend
Tip: List all releases using
helm list
In order to deploy this chart under Kubernetes 1.9+, the k8sApiVersion MUST be set to "apps/v1".
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release --purge
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The configurable parameters of the chart and
their descriptions can be seen in values.yaml.
Tip: You can use the default values.yaml
Deploy demo-backend with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has demo-backend 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 chartdemo-backend is pinned at v0.0.3 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