Kubernetes Pod Disruption Budget (Examples)

  Рет қаралды 11,752

Anton Putra

Anton Putra

Күн бұрын

Пікірлер: 26
@AntonPutra
@AntonPutra Жыл бұрын
🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
@AntonPutra
@AntonPutra Жыл бұрын
👉 How to Manage Secrets in Terraform - kzbin.info/www/bejne/aX-TpXqBrNt1mqM 👉 Terraform Tips & Tricks - kzbin.info/www/bejne/bYScZaKLid5lsJY 👉 ArgoCD Tutorial - kzbin.info/www/bejne/sHjRlZqafMZkisU
@AntonPutra
@AntonPutra 3 жыл бұрын
🔴Kubernetes Explained Playlist - kzbin.info/aero/PLiMWaCMwGJXkKGx03qyCAqSit6vY5G_JK
@mmu99
@mmu99 2 жыл бұрын
This short, simple and easy to understand explanation that I need. Thanks Anton
@AntonPutra
@AntonPutra 2 жыл бұрын
My pleasure
@vi5hnupradeep
@vi5hnupradeep 2 жыл бұрын
Thank you so much . Short and to the point .
@AntonPutra
@AntonPutra 2 жыл бұрын
Thanks!
@pwitty2001
@pwitty2001 Жыл бұрын
This was 10x better than the official docs, thank you
@AntonPutra
@AntonPutra Жыл бұрын
Thanks! Appreciate it!
@jordotech_tube
@jordotech_tube Жыл бұрын
yes, straight to the point, high density and very useful, going to apply this ASAP! Thanks!!!
@AntonPutra
@AntonPutra Жыл бұрын
my pleasure!
@ahmedsaif4541
@ahmedsaif4541 5 ай бұрын
Hi Anton , thank you very much for you effort , i got the purpose of PDB usage
@AntonPutra
@AntonPutra 5 ай бұрын
Welcome, it is most useful during migrations and cluster upgrades.
@fartzy
@fartzy Жыл бұрын
So what happens if you don’t set PDB and you have three replicas? Doesn’t kubernetes try to keep 3 anyway, what does PDB get you
@AntonPutra
@AntonPutra Жыл бұрын
Pod Disruption Budgets (PDBs) are useful during Kubernetes node group updates. The 'kubectl drain' command respects your PDB while removing a node from the cluster. For instance, if you have 3 replicas on 1 node, without a PDB, the 'drain' command can evict all of them simultaneously, causing your app to go down. However, with a PDB, 'drain' ensures that a certain number of replicas, as defined in the PDB, continue to run before proceeding. I hope this is helpful.
@fartzy
@fartzy Жыл бұрын
@@AntonPutra yes that is helpful. Is there any other way in which a PDB will be useful other than a node group update where a ‘kubectl drain’ is used? What about an application that is a cronjob with indexed job completion and the job does sharded processing. I have taken over a job like this and I’m seeing a PDB in the helm template (which obviously launches a PDB in k8s). From what you are saying, there is no real purpose to have this PDB there - as I am sure they are not protecting against upgrades and subsequent ‘kubectl drain’ commands
@AntonPutra
@AntonPutra Жыл бұрын
@@fartzy I don't think it's even applicable for Jobs and CronJobs based on the official doc. However, you can test it locally. Create a minikube cluster with a couple of nodes and try to drain one of the nodes. kubernetes.io/docs/tasks/run-application/configure-pdb/#identify-an-application-to-protect
@smokzpolski
@smokzpolski 3 жыл бұрын
Anton, could you please do educational video about setting up and monitoring Istio in K8s?
@AntonPutra
@AntonPutra 3 жыл бұрын
Planning to switch to istio sometime in the future :) K8s is a big topic on its own :)
@smokzpolski
@smokzpolski 3 жыл бұрын
A bit hard to understand, when we need this feature.
@AntonPutra
@AntonPutra 3 жыл бұрын
I'll give you 3 example. First is core-dns that already runs in most clusters. If you terminate all your instances at the same time, no DNS :) Send, zookeeper or etcd need a quorum to properly operate, if you have 3 zks you set pdb to 2. And nginx ingress of cource :)
@gabecerts4286
@gabecerts4286 3 ай бұрын
Awesome! as always thanks
@chasim1982
@chasim1982 Жыл бұрын
Great tutorials, thanks Q. should we use PDB with aws managed nodes?
@AntonPutra
@AntonPutra Жыл бұрын
of course, if you want to limit disraption
@diegonayalazo
@diegonayalazo Жыл бұрын
Thanks
@AntonPutra
@AntonPutra Жыл бұрын
my pelasure!
Kubernetes Local Persistent Volume: DON'T use hostPath!
7:10
Anton Putra
Рет қаралды 15 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Pod Disruption Budget in kubernetes
12:58
Deekshith SN
Рет қаралды 11 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 342 М.
Most Common Kubernetes Deployment Strategies (Examples & Code)
20:06
[ Kube 48 ] Kubernetes Pod Disruption Budget Demo
15:48
Just me and Opensource
Рет қаралды 11 М.
Kubernetes Architecture
9:41
Anton Putra
Рет қаралды 22 М.
Kubernetes Ingress Explained (2 Types)
8:54
Anton Putra
Рет қаралды 46 М.
The Million view clip on China's Tiktok P2428 #shorts #gochannel
0:15
Go Channel TV
Рет қаралды 29 МЛН
ЛАЙФХАК НА КУХНЕ ! 🧐🤦🏻‍♂️ #shorts #лайфхак
0:15
Крус Костилио
Рет қаралды 109 М.
(✋❌)kageihina VS siajiwoo VS meosimmyyt VS oxzung#tiktok #shorts
0:12
Satisfying Vend 😦 Ep.5 #shorts #satisfying #vendingmachine
0:23
TYE Arcade
Рет қаралды 17 МЛН
#trending #foryou #challenge #fyp #viral #short #tiktok #vs
0:15
Misiсatсh
Рет қаралды 2,4 МЛН
НИКОГДА не иди на сделку с сестрой!
0:11
Даша Боровик
Рет қаралды 729 М.