Istio Service Mesh (sidecar-based)- Intro
HTML-код
- Опубликовано: 6 сен 2024
- In this tutorial, we will discuss the Istio service mesh. We will start by learning what a service mesh is and what its benefits are. As a use case, we will migrate a service running outside Kubernetes to our cluster and along the way, we will learn many Istio concepts such as “GateWay”, “VirtualService”, “Envoy proxy”, “ServiceEntry”, “DestinationRule”, and “Kiali” that will help us with routing and traffic management, dynamic load balancing, managing timeouts/retries, fault injection, and canary testing all through configuration management and without any code changes.
Link to course script files: github.com/gar...
My Other Videos:
► Cilium Kubernetes CNI Provider: Part 4, IP Routing Modes (Direct and Encapsulated)
• Cilium Kubernetes CNI ...
► Cilium Kubernetes CNI Provider, Part 3: Cluster Mesh
• Cilium Kubernetes CNI ...
►Cilium Kubernetes CNI Provider, Part 2: Security Policies and Observability Leveraging Hubble
• Cilium Kubernetes CNI ...
► Cilium Kubernetes CNI Provider, Part 1: Overview of eBPF and Cilium and the Installation Process • Cilium Kubernetes CNI ...
► What is VXLAN and How It is Used as an Overlay Network in Kubernetes?
• What is VXLAN and How ...
► Managing Linux Log-ins, Users, and Machines in Active Directory (AD): Part 2- Join Linux Machines to AD:
• Managing Linux Logins,...
► Managing Linux Log-ins, Users, and Machines in Active Directory (AD): Part 1- Setup AD:
• Managing Linux Logins,...
► Sharing Resources between Windows and Linux:
• Sharing Resources betw...
► Kubernetes kube-proxy Modes: iptables and ipvs, Deep Dive:
• Kubernetes kube-proxy ...
►Kubernetes: Configuration as Data: Environment Variables, ConfigMaps, and Secrets:
• Kubernetes: Configurat...
►Configuring and Managing Storage in Kubernetes:
• Configuring and Managi...
► Istio Service Mesh - Securing Kubernetes Workloads:
• Istio Service Mesh - S...
►Configuring and Managing Storage in Kubernetes:
• Configuring and Managi...
► Understanding Kubernetes Networking. Part 6: Calico Network Policies:
• Understanding Kubernet...
► Understanding Kubernetes Networking. Part 5: Intro to Kubernetes Network Policies:
• Understanding Kubernet...
► Understanding Kubernetes Networking. Part 4: Kubernetes Services:
• Kubernetes services - ...
► Understanding Kubernetes Networking Part 3: Calico Kubernetes CNI Provider in-depth:
• Understanding Kubernet...
► Understanding Kubernetes Networking. Part 2: POD Network, CNI, and Flannel CNI: Plug-in: • Understanding Kubernet...
►Understanding Kubernetes Networking. Part 1: Container Networking: • Video
► Setup a Linux-Windows (Calico based) Hybrid Kubernetes Cluster to Host .NET Containers:
• Setup a Linux-Windows ...
► A Docker and Kubernetes tutorial for beginners:
A Docker and Kubernetes tutorial for beginners. - RUclips
► Setup a "Docker-less" Multi-node Kubernetes Cluster on Ubuntu Server:
• Setup a "Docker-less" ...
►Step by Step Instructions on Setting up Multi-Node Kubernetes Cluster on CentOS: • Step by Step Instructi...
►Setup and Configure CentOS Linux Server on A Windows 10 Hypervisor - RUclips: • Setup and Configure Ce...
►Setup NAT (Network Address Translation) on Hyper-V: • Setup NAT (Network Add...
► Enable Nested Virtualization on Windows to run WSL 2 (Linux) and Hyper-V on a VM: • Enable Nested Virtuali...
►Setup a Multi-Node MicroK8S Cluster on Windows 10: • Setup a Multi Node Mic...
► Detailed Windows Terminal, (WSL 2), Linux, Docker, and Kubernetes Install Guide on Windows 10:
• Detailed Windows Termi...
Forgot to mention in the video, you can get the demo scripts here: github.com/gary-RR/myRUclips_istio_intro. The link is also under the video description. Thanks.
Great presentation on Istio! Very educational, to the point. The inclusion the case makes the subject matter a lot easier to understand. Unlike may other Utubers who include a lot of fluff, your videos are always substantive. Thank you for all your hard work!
Thank you very much for your kind words! Much appreciated!
Best one on Istio
Thanks
Awesome Video!! Have a query though. Does ISTIO use iptables to loadbalance to the pods? Or it just gets the endpoints from the service based on version labels and directly send traffic to the pod?
Hi and thank you! ISTIO does not use iptables for load balancing pods. The Envoy proxies perform that function.
@@TheLearningChannel-Tech What about inter node communication? istio will still need a CNI right?
@@darahaskopparapu Correct, you'll need a functioning cluster before installing Istio. A functioning cluster requires a CNI.
Its wonder full, I really admire, you are champ. I learned a lot of networking things which I never learned in my past 9 years of experience as a developer. I only wanted to know that I saw in your video running kubernetes cluster. Are you running on local virtual machines? I saw that you opened Kiali with localhost ?
Hi and thank you for your positive feedback, much appreciated!
For the demos, I ran VS-Code remotely on the Kubernetes master. VS-Code automatically proxies a connection to the Klali service and port running on the remote server. This allows us to view the Klali reports locally on our browser, in my case on Windows 10.
You can follow the steps in this article to do what I described above, good luck!
code.visualstudio.com/docs/remote/ssh#:~:text=To%20connect%20to%20a%20remote%20host%20for%20the,select%20the%20type%20manually.%20...%20More%20items...%20
Can u make a video on operators ?
Good video !
Thanks!
How do you bind the nodeport 30375 with the port 80 of the istio gateway?
When you define a gateway, it creates a random node port number and automatically binds it to whatever port # you defined for your gateway, this is all explained in the video: ruclips.net/video/x_HRl-Ehvb8/видео.html
Hi Gary I have a question for nginx conf file, that one is manually created or we need to install and modify ?
Hi Tracy, when you install nginx on your machine, it also installs a "nginx.config" file usually under "conf" subfolder. You can then modify or replace it with the one I provided in the video download files. The file must remain under the "conf" folder because that's where nginx expects it.
Note that you must stop and restart nginx if you make changes to conf, how to do that differs if you are running it on Windows or Linux, let me know if need help.
Hope this helps please let me know if you still have questions. Take care!
@@TheLearningChannel-Tech Hi Gary sure thanks I will try and let you know if any problems I find.! Thanks for the detailed explanation again!
@@TheLearningChannel-Tech Since I was facing problem when install nginx so I googled a little bit and found nginx offical site has instruction
@@tracylee8446 Hi Tracy, good to hear that! If you face any issues post here and I'll respond tomorrow(Minnesota time).
@@TheLearningChannel-Tech HiGary sure thanks a lot!