htnn-gateway

by mosn

Helm chartv0.5.0App 0.5.0Verified publisher

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:

  1. the namespace the gateway is deployed in must not have the istio-injection=disabled label. See Controlling the injection policy for more info.
  2. the gateway must be installed after htnn/htnn-controller is 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

NameEmailUrl
spacewander

Requirements

RepositoryNameVersion
https://istio-release.storage.googleapis.com/chartsgateway1.21.3

Values

KeyTypeDefaultDescription
gateway.env.ISTIO_DELTA_XDSstring"true"
gateway.namestring"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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charthtnn-gateway is pinned at v0.5.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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