istio
Helm chart for deploying Istio operator
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.
The documentation here is for developers only, please follow the installation instructions from istio.io for all other uses.
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:
- grafana
- prometheus
- security
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
-
Set and create the namespace where Istio was installed:
$ NAMESPACE=istio-system $ kubectl create ns $NAMESPACE -
To install the chart with the release name
istioin namespace $NAMESPACE you defined above:-
With automatic sidecar injection (requires Kubernetes >=1.9.0):
$ helm install istio --name istio --namespace $NAMESPACE -
Without the sidecar injection webhook:
$ helm install istio --name istio --namespace $NAMESPACE --set sidecarInjectorWebhook.enabled=false
-
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 can be found here.
Uninstalling the Chart
To uninstall/delete the istio release but continue to track the release:
$ helm delete istio
To uninstall/delete the istio release completely and make its name free for later use:
$ helm delete --purge istio
Steps to upgrade Istio chart
Please refer to UPGRADING.md on how to upgrade the istio-operator fork to a newer upstream version.
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.25.1 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