demo-frontend
by yushiwho
A helm chart for frontend demo
About this chart
demo-frontend
demo-frontend for React
a demo-frontend app
QuickStart
$ helm repo add demo-frontend https://yushiwho.github.io/charts
$ helm repo update
$ helm install my-release demo-frontend/demo-frontend --namespace demo-frontend
Introduction
This chart deploys a React app
Prerequisites
- Kubernetes 1.24+
Installing the Chart
To install the chart with the release name my-release:
$ helm install my-release demo-frontend/demo-frontend --namespace demo-frontend
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-frontend with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has demo-frontend 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-frontend 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