istio-gateway
by Startechnica
Istio Gateway provides more extensive customization and flexibility than Kubernetes Ingress, and allows Istio features such as monitoring and route rules to be applied to traffic entering the cluster.
About this chart
Helm chart for Istio Gateway (Multi Gateway)
Gateway used to manage inbound and outbound traffic for your mesh, letting you specify which traffic you want to enter or leave the mesh. Gateway configurations are applied to standalone Envoy proxies that are running at the edge of the mesh, rather than sidecar Envoy proxies running alongside your service workloads.
Along with support for Kubernetes Ingress resources, Istio also allows you to configure ingress traffic using either an Istio Gateway or Kubernetes Gateway resource. A Gateway provides more extensive customization and flexibility than Ingress, and allows Istio features such as monitoring and route rules to be applied to traffic entering the cluster.
This Helm chart configure Istio to expose a service outside of the service mesh using a Gateway.
This chart is not maintained by the upstream project and any issues with the chart should be raised here
TL;DR
helm repo add startechnica https://startechnica.github.io/apps
helm install istio-ingressgateway startechnica/istio-gateway
Prerequisites
- Kubernetes 1.24+
- Helm 3.10.0+
Installing the Chart
To install the chart with the release name istio-ingressgateway on istio-ingressgateway namespace:
helm repo add startechnica https://startechnica.github.io/apps
helm install istio-ingressgateway startechnica/istio-gateway --namespace istio-ingressgateway --create-namespace
These commands deploy Istio Gateway on the Kubernetes cluster in the default configuration.
Tip: List all releases using
helm list -A
Uninstalling the Chart
To uninstall/delete the istio-ingressgateway deployment:
helm delete istio-ingressgateway --namespace istio-ingressgateway
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
global.namespaceOverride | Override the namespace for resource deployed by the chart, but can itself be overridden by the local namespaceOverride | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
nameOverride | String to partially override st-common.names.fullname template with a string (will prepend the release name) | "" |
namespaceOverride | String to fully override st-common.names.namespace | "" |
fullnameOverride | String to fully override st-common.names.fullname template with a string | "" |
commonAnnotations | Annotations to add to all deployed objects | {} |
commonLabels | Labels to add to all deployed objects | {} |
schedulerName | Name of the Kubernetes scheduler (other than default) | "" |
clusterDomain | Kubernetes DNS Domain name to use | cluster.local |
extraDeploy | Array of extra objects to deploy with the release (evaluated as a template) | [] |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the deployment | [] |
diagnosticMode.args | Args to override all containers in the deployment | [] |
Istio common parameters
| Name | Description | Value |
|---|---|---|
istioNamespace | Istiod namespace | istio-system |
Istio Gateway parameters
| Name | Description | Value |
|---|---|---|
gateways.enabled | Enable Istio Gateway | true |
gateways.name | Istio Gateway identifier | ingressgateway |
gateways.revision | Revision is set as 'version' label and part of the resource names when installing multiple control planes. | "" |
gateways.replicaCount | Desired number of pods | 1 |
gateways.image.registry | Istio Gateway image registry | "" |
gateways.image.repository | Istio Gateway image repository | "" |
gateways.image.tag | Istio Gateway image tag (immutable tags are recommended) | "" |
gateways.image.digest | Istio Gateway image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag. | "" |
gateways.image.pullPolicy | Istio Gateway image pull policy | IfNotPresent |
gateways.image.pullSecrets | Specify docker-registry secret names as an array | [] |
gateways.image.debug | Set to true if you would like to see extra information on logs | false |
gateways.hostAliases | Deployment pod host aliases | [] |
gateways.command | Override default container command (useful when using custom images) | [] |
gateways.args | Override default container args (useful when using custom images) | [] |
gateways.extraEnvVars | Extra environment variables to be set on Istio Gateway containers | [] |
gateways.extraEnvVarsCM | ConfigMap with extra environment variables | "" |
gateways.extraEnvVarsSecret | Secret with extra environment variables | "" |
gateways.service.type | Kubernetes service type | LoadBalancer |
gateways.service.ports.http2 | Istio Gateway HTTP/2 service port | 80 |
gateways.service.ports.https | Istio Gateway HTTPS/TLS service port | 443 |
gateways.service.ports.status | Istio Gateway Status service port | 15021 |
gateways.service.nodePorts.http2 | Specify the nodePort value for the LoadBalancer and NodePort service types. | "" |
gateways.service.nodePorts.https | Specify the nodePort value for the LoadBalancer and NodePort service types. | "" |
gateways.service.nodePorts.status | Specify the nodePort value for the LoadBalancer and NodePort service types. | "" |
gateways.service.extraPorts | Extra ports to expose (normally used with the sidecar value) | [] |
gateways.service.externalIPs | External IP list to use with ClusterIP service type | [] |
gateways.service.clusterIP | Specific cluster IP when service type is ClusterIP. Use None for headless service | "" |
gateways.service.loadBalancerIP | loadBalancerIP if service type is LoadBalancer | "" |
gateways.service.ipFamilyPolicy | Istio Gateway Kubernetes service ipFamilyPolicy policy | SingleStack |
gateways.service.loadBalancerSourceRanges | Addresses that are allowed when svc is LoadBalancer | [] |
gateways.service.externalTrafficPolicy | Istio Gateway service external traffic policy | Cluster |
gateways.service.annotations | Additional annotations for Istio Gateway service | {} |
gateways.service.sessionAffinity | Session Affinity for Kubernetes service, can be None or ClientIP | None |
gateways.service.sessionAffinityConfig | Additional settings for the sessionAffinity | {} |
gateways.networkGateway | If specified, the gateway will act as a network gateway for the given network. |
Deploy istio-gateway with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has istio-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 chartistio-gateway is pinned at v1.0.7 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