Posts

Showing posts with the label kubernetes

How to Test Traffic Using a Custom Kubernetes Controller: A Step-by-Step Guide

Image
  K8s controllers and operators In k8s world every resource created via controller. Like there are inbuilt controllers for pods, deployments , replica set etc. So basically, Controllers are nothing but a control loop that continuously monitor the state of the cluster and take actions to bring the cluster into the desired state. The resources have a spec that provides the desired state. The controller checks the current states. If it doesn’t match the desired state, it will make the appropriate changes or modifications to bring it closer to the desired state. Different types of Kube-Controller-Manager ReplicaSet Controller : This controller is responsible for maintaining a stable set of replica Pods running at any given time. It is often used in conjunction with Deployments to ensure that a specified number of pod replicas are running at all times, even in the event of node failure or pod termination. Deployment Controller : This controller provides declarative updates for Pods and...