I’m Kishan 👨🦲
Royal Entry on 12th July 🎂
From India 🇮🇳
Engineering Manager at Pratilipi 👨💻
Manchester United Fan by Life 🥅
I’m Kishan 👨🦲
Royal Entry on 12th July 🎂
From India 🇮🇳
Engineering Manager at Pratilipi 👨💻
Manchester United Fan by Life 🥅

Problem Statement To migrate 250 applications running on outdated Kubernetes clusters presented a significant challenge, requiring the upgrade of ~127 clusters and transitioning workloads to a modern infrastructure. This migration involved deploying application workloads onto GoCloud, a new Kubernetes-based platform, while utilizing Fabric(more about Fabric in the later sections) for traffic shaping. The effort aimed to improve security, scalability, and operational efficiency while achieving zero downtime and disruptions. Motivations & Business Drivers The decision to migrate stemmed from multiple critical factors that impacted the reliability and scalability of the existing infrastructure: ...

Introduction When sizing a Google Kubernetes Engine (GKE) cluster, several factors come into play such as the expected workload, resource requirements, performance needs etc. Similar to performance, scalability is a very critical factor to the success of a growing organisation which should be considered during the design of a cluster. Scalability of a Kubernetes cluster is not one dimensional but a combination of a lot of components. When considering the scalability of a Kubernetes cluster, a better way to think about scalability is that within all possible configurations of the cluster there is a cube which wraps an envelope of those configurations which will offer you good stability and performance and as long as you are within that envelope essentially meaning within the limits of scalability on multiple dimensions you are safe and you can say that you are within the scalability limits. ...

Isolation using Namespaces In Kubernetes, namespaces are a way to create virtual clusters within a physical cluster, providing resource isolation and segregation. Think of it like kernel namespace which is a feature to isolate resources from each other. Analogous to a physical world example, think of it like a store in a shopping mall which has its own physical piece of land, electricity bill, water bill, interior design in a shared shopping complex. The shopping complex is our cluster and the store is a namespace within the cluster. A namespace is a logical boundary that allows you to divide cluster resources and create separate environments for different applications, teams, or projects. ...

Kubernetes is a container orchestration platform that allows you to manage and automate the deployment, scaling and management of containerised application. In this post we will look into the resource management in Kubernetes which involves allocating resources such as CPU, memory to the containers running in a cluster Understanding Resource At the heart of a Kubernetes cluster is a resource abstraction called pods which groups containers together and manage their resources as a unit. Each pod is assigned a certain amount of CPU and memory resources, which are used by the containers running within the pod. Pods run on a node in the cluster and the node size in terms of memory and CPU in a cluster is definite. Only certain number of pods can be run in a cluster and it is a duty of a Kubernetes cluster admin to assign the resources to the pod optimally to get the best utilization and at the same time ensure that there’s enough room to deal with increasing load and failures. ...

Monitoring Kubernetes cluster with Prometheus Prometheus is a widely used open-source monitoring system that is commonly used for monitoring Kubernetes environments. In Kubernetes, Prometheus can be used to monitor various Kubernetes components such as pods, nodes, and services. Kubernetes provides an API that allows Prometheus to discover the endpoints of the different components and collect metrics from them. These metrics can include CPU usage, memory usage, network traffic, and other relevant information. Prometheus also provides a variety of built-in visualization tools such as Grafana, which can be used to visualize the collected metrics. This allows users to create dashboards that provide a high-level view of the cluster’s health and performance. ...