Kubernetes

Anything about kubernetes

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 »

Create Kubernetes cluster locally using Kubespray and libvert

This post will show a simple tool to create a Kubernetes cluster using libvert and kubespray. Libvert needs to know the introduction; if you are working on a Linux environment, you are likely a fan of libvert already. I have written a set of playbooks to leverage libvert to spawn a cluster of virtual machines, …

Create Kubernetes cluster locally using Kubespray and libvert 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 »

Install LoadBalancer for Kubernetes for On-Prem or Home-Lab

If you are having a Kubernetes cluster running in an on-prem environment, unlike managed Kubernetes solutions you must be missing the fun of having an automatic assignment of load balancer IP to your exposed services. No more pending external IP 🙂 The solution is using an on-prem load balancer. This really beefs up the capabilities …

Install LoadBalancer for Kubernetes for On-Prem or Home-Lab 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