Kubernetes

Anything about kubernetes

ExternalName Service: Easy Namespace Traffic switching and Management

Kubernetes has multiple types of services type to offer to the user. A user can choose the right fit based on the requirement. This post will demonstrate leveraging the externlName service type for traffic redirection. Let’s assume a scenario where I have two versions of the same application running, and I want to move traffic(generated […]

ExternalName Service: Easy Namespace Traffic switching and Management Read More »

How to simulate traffic in Kubernetes cluster?

This post will show the most straightforward yet extremely powerful way to simulate traffic load in your environment, including the Kubernetes cluster. We will be using fortio for traffic generation for desired duration and requests per second. To see fortio in action, let’s see an example:we assume our application is an Nginx pod and will

How to simulate traffic in Kubernetes cluster? Read More »

Changing the traffic distribution of a Kubernetes service

In Kubernetes with the default configurations, When a deployment is exposed via a service, the traffic is distributed between the endpoints/replicas in a round-robin way. This is great for most cases; however, the cluster administrator sometimes wants a finer traffic distribution control. Kubernetes provided a few more strategies for traffic distribution among the service’s endpoints.

Changing the traffic distribution of a Kubernetes service Read More »

Kubespray advanced configuration for a production cluster

In this post, we will see some advanced options provided by kubespray for production-grade cluster creation. In most places on the internet, you will see the basic instructions to create a simple(Hello World) Kubernetes cluster using a bunch of virtual machines. However, kubespray offer much more than that. For example: 1. You can install several

Kubespray advanced configuration for a production cluster Read More »

What is high availability, and how to make your infrastructure resilient to failures?

This post demonstrates how load balancers help achieve higher availability of the control plane nodes in a simple cluster environment. The post targets the beginner audience; with the concepts, procedure, and testing. The same concepts apply to setting up a high-available Kubernetes cluster. The post is divided into three parts; feel free to skip to

What is high availability, and how to make your infrastructure resilient to failures? Read More »

Create Virtual Machines using virt-install(libvert) with cloud-init

This post will demonstrate creating a high-performance guest VM with cloud-init using virt-install. The Qemu/libvert/KVM stack is currently the best bet to get the near-native performance from the virtual machines. When combined with cloud-init, the stack gets more empowered and highly convenient to set up virtual machines. This is especially helpful if you require creating

Create Virtual Machines using virt-install(libvert) with cloud-init Read More »

How to setup longhorn block storage for Kubernetes cluster

In this post, we will see how to install longhorn into your Kubernetes cluster. If you are not familiar with longhorn block storage, it is a production-ready block storage solution specially designed for Kubernetes. you can install longhorn on any managed Kubernetes cluster, on-prem, or even in your home lab. It is a lightweight solution

How to setup longhorn block storage for Kubernetes cluster Read More »

Scroll to Top