DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workkloads.

Secure your stack and shape the future! Help dev teams across the globe navigate their software supply chain security challenges.

Releasing software shouldn't be stressful or risky. Learn how to leverage progressive delivery techniques to ensure safer deployments.

Avoid machine learning mistakes and boost model performance! Discover key ML patterns, anti-patterns, data strategies, and more.

Related

  • Auditing Tools for Kubernetes
  • Docker Security Best Practices for Enterprise Applications: From Development to Production
  • Securing APIs in Modern Web Applications
  • Demystifying Kubernetes in 5 Minutes

Trending

  • Rethinking Recruitment: A Journey Through Hiring Practices
  • While Performing Dependency Selection, I Avoid the Loss Of Sleep From Node.js Libraries' Dangers
  • Mastering Fluent Bit: Installing and Configuring Fluent Bit on Kubernetes (Part 3)
  • Transforming AI-Driven Data Analytics with DeepSeek: A New Era of Intelligent Insights
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Deployment
  4. How To Install Istio Using Helm Chart

How To Install Istio Using Helm Chart

Follow the steps to install the open-source Istio service mesh in your Kubernetes cluster using Helm charts.

By 
Pulak Das user avatar
Pulak Das
·
Aug. 16, 23 · Tutorial
Likes (2)
Comment
Save
Tweet
Share
3.3K Views

Join the DZone community and get the full member experience.

Join For Free

Istio service mesh helps DevOps engineers and architects manage the network and security of distributed applications without touching the application code.

In a previous blog, we explained How to get started with Istio in Kubernetes in 5 steps, where Istio’s command line tool, Istioctl, is used to install Istio. Here, let us see the steps to install Istio using Helm chats.

Prerequisites

  • Kubectl – Kubernetes command-line tool.
  • Helm – Package manager for Kubernetes.

Steps to Install Istio Using Helm Charts

There are three steps involved in the process, which should be done in the following order:

  1. Add the Istio repository to Helm.
  2. Install the Istio base chart.
  3. Install the Istio control plane.

After we complete the above steps, we will see how to verify if they are installed properly.

1. Add Istio Repository to Helm

The Istio repository contains the necessary configurations and Istio charts for installing Istio. The first step is to add it to Helm by running the command below.

Shell
 
helm repo add istio https://istio-release.storage.googleapis.com/charts


Now, update the Helm repository to get the latest charts:

Shell
 
helm repo update


adding istio repository to helm and updating helm charts


2. Install Istio Base Chart

Enter the following command to install the Istio base chart containing cluster-wide Custom Resource Definitions (CRDs). (Note that this is required for installing the Istio control plane.)

Shell
 
helm install istio-base istio/base -n istio-system --create-namespace --set defaultRevision=default


  • In the above command, istio-base and istio/base represent the chart name and the chart path, respectively.
  • The chart will be installed in the istio-system namespace. Since the namespace does not exist already, we passed the argument --create-namespace to create it. The namespace will set up the validator required for Istio.
  • defaultRevision: As the Istio base chart sets up  ValidatingWebhookConfiguration to perform resource validation, it is necessary to select a default revision that will be used for validation. We will use the default revision here.

You will see the below output if the installation is successful.


3. Install Istio Control Plane

The below command will install the Istio control plane component, Istiod, into the istio-system namespace.

Shell
 
helm install istiod istio/istiod -n istio-system --wait


Upon successful installation, it will return the following output:


Verify Istio Base and Istiod Deployment Status

By running the following command, we can see the deployment status of istio-base and istiod.

Shell
 
helm ls -n istio-system


We can see that the status is deployed for both of them in the output.


Also, run the following command to verify if it is actually running:

Shell
 
kubectl get deployments -n istio-system -o wide


We can see that the istiod service’s pod is running.


Video: Install Istio Using Helm Charts

Watch the following video to see all the above steps in action. There is an additional step in the video where the istioctl command is used to do a pre-check while installing istio-base. However, note that this step is completely optional.


If you are deploying Istio in a production environment, it is highly recommended to talk to an Istio expert beforehand. Because Istio is complex, like Kubernetes, many subtle errors can creep in while configuring service definitions or setting up Istio, particularly when you have applications deployed across multiple namespaces written by developers with varying experience levels.

Chart applications cluster Command (computing) Repository (version control) security

Published at DZone with permission of Pulak Das. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Auditing Tools for Kubernetes
  • Docker Security Best Practices for Enterprise Applications: From Development to Production
  • Securing APIs in Modern Web Applications
  • Demystifying Kubernetes in 5 Minutes

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!