htnn-gateway
by mosn
A Helm chart for HTNN data plane running as gateway
About this chart
htnn-gateway
A Helm chart for HTNN data plane running as gateway
Install
To install the chart with the release htnn-gateway:
helm repo add htnn https://mosn.github.io/htnn
helm repo update
helm install htnn-gateway htnn/htnn-gateway --namespace istio-system --create-namespace
For more information like how to configure and troubleshoot, please refer to the Installation Guide.
image: auto Information
The image used by the chart, auto, may be unintuitive.
This exists because the pod spec will be automatically populated at runtime, using the same mechanism as Sidecar Injection.
This allows the same configurations and lifecycle to apply to gateways as sidecars.
Note: this does mean two things:
- the namespace the gateway is deployed in must not have the
istio-injection=disabledlabel. See Controlling the injection policy for more info. - the gateway must be installed after
htnn/htnn-controlleris installed so that the pod spec can be injected.
Uninstall
To uninstall the Helm release htnn-gateway:
helm uninstall htnn-gateway -n istio-system
Maintainers
| Name | Url | |
|---|---|---|
| spacewander |
Requirements
| Repository | Name | Version |
|---|---|---|
| https://istio-release.storage.googleapis.com/charts | gateway | 1.21.3 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| gateway.env.ISTIO_DELTA_XDS | string | "true" | |
| gateway.name | string | "istio-ingressgateway" |
Deploy htnn-gateway with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has htnn-gateway 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 charthtnn-gateway is pinned at v0.5.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