istio
by Helm
Helm chart for all istio components
About this chart
Istio
Istio is an open platform for providing a uniform way to integrate microservices, manage traffic flow across microservices, enforce policies and aggregate telemetry data.
Introduction
This chart bootstraps all istio components deployment on a Kubernetes cluster using the Helm package manager.
Chart Details
This chart can install multiple istio components as subcharts:
- ingress
- ingressgateway
- egressgateway
- sidecarInjectorWebhook
- galley
- mixer
- pilot
- security(citadel)
- grafana
- prometheus
- servicegraph
- tracing(jaeger)
- kiali
To enable or disable each component, change the corresponding enabled flag.
Prerequisites
- Kubernetes 1.9 or newer cluster with RBAC (Role-Based Access Control) enabled is required
- Helm 2.7.2 or newer or alternately the ability to modify RBAC rules is also required
- If you want to enable automatic sidecar injection, Kubernetes 1.9+ with
admissionregistrationAPI is required, andkube-apiserverprocess must have theadmission-controlflag set with theMutatingAdmissionWebhookandValidatingAdmissionWebhookadmission controllers added and listed in the correct order.
Resources Required
The chart deploys pods that consume minimum resources as specified in the resources configuration parameter.
Installing the Chart
Use the banzaicloud-stable repo:
$ helm repo add banzaicloud-stable http://kubernetes-charts.banzaicloud.com/branch/master
$ helm repo update
Install the chart:
helm install --name istio --namespace istio-system banzaicloud-stable/istio
Configuration
The Helm chart ships with reasonable defaults. There may be circumstances in which defaults require overrides.
To override Helm values, use --set key=value argument during the helm install command. Multiple --set operations may be used in the same Helm operation.
Helm charts expose configuration options which are currently in alpha. The currently exposed options are explained in the following table:
| Parameter | Description | Values | Default |
|---|---|---|---|
global.hub | Specifies the HUB for most images used by Istio | registry/namespace | docker.io/istio |
global.tag | Specifies the TAG for most images used by Istio | valid image tag | 0.8.latest |
global.proxy.image | Specifies the proxy image name | valid proxy name | proxyv2 |
global.proxy.concurrency | Specifies the number of proxy worker threads | number, 0 = auto | 0 |
global.imagePullPolicy | Specifies the image pull policy | valid image pull policy | IfNotPresent |
global.controlPlaneSecurityEnabled | Specifies whether control plane mTLS is enabled | true/false | false |
global.mtls.enabled | Specifies whether mTLS is enabled by default between services | true/false | false |
global.rbacEnabled | Specifies whether to create Istio RBAC rules or not | true/false | true |
global.refreshInterval | Specifies the mesh discovery refresh interval | integer followed by s | 10s |
global.arch.amd64 | Specifies the scheduling policy for amd64 architectures | 0 = never, 1 = least preferred, 2 = no preference, 3 = most preferred | 2 |
global.arch.s390x | Specifies the scheduling policy for s390x architectures | 0 = never, 1 = least preferred, 2 = no preference, 3 = most preferred | 2 |
global.arch.ppc64le | Specifies the scheduling policy for ppc64le architectures | 0 = never, 1 = least preferred, 2 = no preference, 3 = most preferred | 2 |
ingress.enabled | Specifies whether Ingress should be installed | true/false | true |
gateways.istio-ingressgateway.enabled | Specifies whether Ingress gateway should be installed | true/false | true |
gateways.istio-egressgateway.enabled | Specifies whether Egress gateway should be installed | true/false | true |
sidecarInjectorWebhook.enabled | Specifies whether automatic sidecar-injector should be installed | true | |
galley.enabled | Specifies whether Galley should be installed for server-side config validation | true/false | true |
mixer.enabled | Specifies whether Mixer should be installed | true/false | true |
pilot.enabled | Specifies whether Pilot should be installed | true/false | true |
grafana.enabled | Specifies whether Grafana addon should be installed | true/false | false |
grafana.persist | Specifies whether Grafana addon should persist config data | true/false | false |
grafana.storageClassName | If grafana.persist is true, specifies the StorageClass to use for the PersistentVolumeClaim | StorageClass | "" |
grafana.accessMode | If grafana.persist is true, specifies the Access Mode to use for the PersistentVolumeClaim | RWO/ROX/RWX | ReadWriteMany |
prometheus.enabled | Specifies whether Prometheus addon should be installed | true/false | false |
servicegraph.enabled | Specifies whether Servicegraph addon should be installed | true/false | false |
tracing.enabled | Specifies whether Tracing(jaeger) addon should be installed | true/false | false |
kiali.enabled | Specifies whether Kiali addon should be installed | true/false | false |
Uninstalling the Chart
To uninstall/delete the istio release:
$ helm delete istio
The command removes all the Kubernetes components associated with the chart and deletes the release.
To uninstall/delete the istio release completely and make its name free for later use:
$ helm delete istio --purge
Deploy istio with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has istio 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 is pinned at v1.0.5 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