Implementing service discovery across multiple Kubernetes clusters

Introduction

In this article, I will talk about how you can setup a Service mesh using Istio which spans across multiple clusters. Although the documentation is available from Istio as well, but it gets very confusing and I had a hard time to get everything up and running. I hope this article will help others who are trying to do the same setup and are stuck because of poor documentation.

There are two ways to setup multicluster Istio mesh:

  1. Shared Control Plane
  2. Replicated Control Plane

You can find more details in the official docs.


Understanding the whole process of DNS resolution

In this post I will talk about how DNS gets resolved whenever you hit a website on your browser. You may find many articles on the internet which may describe this process a little bit deeper but I will stick to keeping it simple and straight. So, let’s start.

Whenever you hit a url, the first place which is checked is your system’s /etc/hosts file. If there is no entry found for the url in /etc/hosts file then the the following process takes place:

  1. Let’s assume you hit http://www.example.com on your web browser…


Understanding SSH flow in under 5minutes

In this article, I’ll talk about what really happens when you SSH to a server. I’ll be keeping it simple and to the point, so the basic process flow is like this:

  1. The client requests the server for connection and specifies it’s id.
  2. The server checks the authorized_keys file in that id if the requested id actually exists. If exists, the server uses the public key to encrypt a random number and send the encrypted message to the client. …

Utsav Kumar

DevOps Engineer/Consultant | Reach out to me at https://www.linkedin.com/in/utsav-kumar-a27413b1/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store