In one of my organizations, most of our Redis infrastructure runs on Kubernetes. if you know about the Redis cluster, you can connect to shards using the IP of the machines. Since we are running Redis in statefulsets, we have exposed the IPs of the pods inside our infrastructure. Kubernetes cluster is EKS and the
Tag: networking
DevOps Interview Questions: How many usable IPs are there in /24 CIDR?
In our previous interview-related question we talked about VPC design, logging system design, monitoring system design, page fault, etc. In this article, we are going to talk about how to calculate how many usage IPs are there in a /24 CIDR. What is a CIDR? CIDR stands for classless inter-domain routing. This is a set
What is a service mesh? Is it born with Kubernetes?
Hi, in our recent few articles we are talking about basic Kubernetes and we talked about how Kube proxy works, what is a control plane, what is an etcd, and what are node components of Kubernetes. If you missed the articles you can find them below. In this article, we are going to look into
What should you learn in DevOps and SRE for long term prospect?
I get a lot of questions regarding what should one learn to progress in a career or start a career in this domain. In this article we will talk about what you should learn for a long-term perspective in this field. Linux Yes, this is very important and is still evolving. Keeping a good grip
DevOps Interview Questions: How will you approach a network issue.
Network issues are the most common tasks that you have to debug if you involved in the setup of infrastructure and day-to-day operations. In this article, we will see how we can approach this problem. Let’s say we have few boxes that need to connect to a third-party API that is outside of the network,
DevOps Interview Questions: How will you design your cloud VPC and subnets?
In this article, we are going to look into this question. The intent of this question is to find out if you are aware of how you can design your network infra. They want to hear from you about private traffic, public traffic, how the traffic will go out, etc. Let’s start and have a
How traceroute works using ICMP error messages.
In this article, we will talk about how traceroute works using ICMP. ICMP stands for Internet Control Message Protocol. This is used in the network layer just above the IP because ICMP messages are also encapsulated in IP packets. Now let’s have a look at how traceroute works using ICMP. When you type traceroute destination
How docker networking works.
In recent articles, we talked about containers a lot like the below articles. In this article also we are going to continue the same trend and talk about how docker networking works. To understand very basic docker networking we need some knowledge beforehand. Lets read about namespaces in linux, veth pair and bridge. Namespaces: Namespaces
What are SNAT and DNAT
If you are working as a DevOps you must have heard the name NAT. In this article, we will talk about them and SNAT and DNAT. NAT (Network Address translator) is generally used when you want to hide one side of the network and show it as a single IP. NAT keep a connection table