ingress
by Camptocamp
A Helm chart for deploying an ingress
About this chart
Kubernetes HELM chart to create an Ingress
See values for details.
Blue/Green switch
When using Blue/Green applications, we will have 3 ingress:
- one to serve the blue application on blue URL
- one to serve the green application on green URL
- one to serve the application (blue or green one) on production URL
For the production ingress, we create a dedicated service to be able to do blue-green switch.
To switch between blue and green applications, we need to set appropriated selector in production service using variable applicationReleaseName in values.yaml.
See https://github.com/camptocamp/helm-ingress/wiki/Blue-Green-switch
Schema documentation
Documentation based on the schema defined in values.md.
Installation
helm repo add ingress https://camptocamp.github.io/helm-ingress/
helm install my-release ingress/ingress --values=my-values.yaml
Contributing
Install the pre-commit hooks:
pip install pre-commit
pre-commit install --allow-missing-config
Deploy ingress with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ingress 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 chartingress is pinned at v1.4.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