๐จ BREAKING: Someone just open-sourced a massive library of 900+ AI agent skills for Claude, Copilot, Gemini, Cursor, and more.
100% Free and Open-Source.
Kubernetes design interview question ๐
Is it possible for etcd to have a split-brain scenario?
What is ๐๐ฝ๐น๐ถ๐-๐ฏ๐ฟ๐ฎ๐ถ๐ป ๐๐ฐ๐ฒ๐ป๐ฎ๐ฟ๐ถ๐ผ?
Split brain scenarios occur when a group of nodes in a distributed system loses communication with each other primarily due to network partitioning, resulting in inconsistent or conflicting system states.
etcd is designed to avoid split-brain scenarios, as it relies on a leader election mechanism to ensure that only one node is active and in control of the cluster at any given time.
The official documentation says, there is no โsplit-brainโ in etcd. Here is why.
โ A network partition divides the etcd cluster into two parts; one with a member majority and the other with a member minority.
โ The majority side becomes the available cluster and the minority side is unavailable
โ If the leader is on the majority side, then from the majority point of view the failure is a minority follower failure.
โ If the leader is on the minority side, then it is a leader failure.
โ The leader on the minority side steps down and the majority side elects a new leader.
โ Once the network partition clears, the minority side automatically recognizes the leader from the majority side and recovers its state.
So how does the leader know weather its in the majority or minority?
etcd nodes regularly send "heartbeats" to each other.
If the leader is in the minority part of the split, it will not receive acknowledgments from the majority of the nodes.
When the leader doesn't get enough responses to its heartbeats, it realizes that it might be in the minority.
To maintain the integrity of the system, it steps down from its leadership role.
On the other side of the partition, where the majority of nodes are, they also notice they're not getting heartbeats from the leader. Since they are the majority, they can elect a new leader among themselves.
PS: โป๏ธ Repost if you find this useful. It helps the DevOps community ๐
Have you faced split brain scenario before?
โฌ๏ธ Discuss in the comments below! โฌ๏ธ
#devops #kubernetes #devopscommunity
This article explains how CPU limits cause throttling in Kubernetes, how to diagnose container CPU starvation, and practical fixes like kernel upgrades, monitoring throttling metrics, and adjusting limits
โ https://t.co/vi2OqBXF0I
If you are serious about learning key Kubernetes concepts,
Read these ๐
1. Kubernetes Immutable Secret -https://t.co/8sS5my5pRK
2. Cluster Autoscaler vs Karpenter - https://t.co/60tZ18oKc9
3. TLS Management in Kubernetes - https://t.co/ivzQmEBJvO
4. Multi-AZ Kubernetes Cluster - https://t.co/JtECajxo7y
5. Build a Container with No OS - https://t.co/z0mYCnKtqc
6. Retirement anounecment of Nginx Ingress Controller - https://t.co/WHzwsg18rR
๐ ๐๐ฒ๐ฟ๐๐ถ๐ณ๐ถ๐ฐ๐ฎ๐๐ถ๐ผ๐ป๐ & ๐๐ถ๐๐ฐ๐ผ๐๐ป๐๐
CKA, CKAD, CKS aspirants! This months deal is live!
Use code ๐ฐ๐ฌ๐๐จ๐๐๐ฎ๐ฑ๐๐ง at https://t.co/C7Uw2BWcX6 to save up to ๐ฐ๐ณ% ๐ข๐๐ on individual certifications.
๐ ๐๐๐ ๐ฐ๐ผ๐๐ฟ๐๐ฒ ๐๐ถ๐๐ต ๐ด๐ฌ+ ๐ฝ๐ฟ๐ฎ๐ฐ๐๐ถ๐ฐ๐ฒ ๐พ๐๐ฒ๐๐๐ถ๐ผ๐ป๐: https://t.co/prSAHSSCyQ. Use code FLASH50 to get 4๐ฌ% ๐ข๐๐ today
๐ KodeKloud 50% discount - https://t.co/Tvte5DYUB4
Which resource are you diving into this week? Drop a comment!
#DevOps #Learning #techtips
K8s cleaner is a controller that identifies, removes, or updates stale/orphaned or unhealthy resources to maintain a clean and efficient Kubernetes cluster
โค https://t.co/bTKci906FO
Not a joke, many DevOps Engineers donโt fully understand how image scanning actually fits in their workflows.
Here, Iโve made this to help you better understand.
56K+ read my DevOps and Cloud newsletter: https://t.co/wwkI6UOSo4
What do we cover:
DevOps, Cloud, Kubernetes, IaC, GitOps, MLOps
๐ Consider a Repost if this is helpful
New post by N Chandra Prakash Reddy.
Chaos Testing AWS EKS with AWS FIS | AWS Community Day Bangalore 2025
https://t.co/jDJB2anLMz
#apigateway#aws#kubernetes#microservices
Quick Linux tip:
Got log files compressed as .gz? You donโt need to extract them to read or search through the content.
Use the 'z' tools directly:
โข zcat - view the file
โข zless - scroll through it
โข zgrep - search inside it
โข zegrep - search with extended regex
โข zfgrep - search for fixed strings
โข zcmp/zdiff - compare files
These commands let you inspect compressed logs without unpacking them first, perfect for quick troubleshooting sessions.