Тёмный

Jobs and CronJobs in Kubernetes 

Pavan Elthepu
Подписаться 10 тыс.
Просмотров 13 тыс.
50% 1

#kubernetes #jobs #cronjobs #devops #fullstackdevelopment
I’m sure that you have come across different controllers for managing pods like Replicasets, Deployments, Statefulsets, and Daemonsets. These all controllers ensure that their pods are always running. If a pod fails, the controller restarts it or reschedules it to another node to make sure the desired no.of pods is always running.
But, what if we want to run our pods only once like for taking the DB backup, or sending emails in a batch? Such processes should not be running continuously. They’ll run for a certain amount of time and they run at particular times, not continuously. For these processes, having controllers like deployment is a bad idea as it makes sure the pod runs continuously!
In this video, we’ll learn how to run batch jobs only once or schedule them at particular intervals, using Jobs and CronJobs with complete hands-on!
Manifests: github.com/pelthepu/Kubernete...
Please give a Like and Subscribe to the channel - bit.ly/pavanelthepu
Timestamps:
0:00 - Intro
01:06 - Job Lifecycle
03:28 - CronJob
04:23 - Usecases
05:04 - MongoDB Backup with Job
10:24 - MongoDB Backup with CronJob
My other courses:
Docker Complete Course: • Docker Tutorial | Ful...
Thank you very much!

Опубликовано:

 

9 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 54   
@cloudpillsdaily
@cloudpillsdaily 5 месяцев назад
This is what i have been looking for. Loved your video, please keep up with these and thank you for providing a good quality sound too
@PavanElthepu
@PavanElthepu 5 месяцев назад
Thank you so much. Please share with your friends and colleagues
@yashkinra7033
@yashkinra7033 11 месяцев назад
Amazing series on K8..loved it :)
@awssoorinje747
@awssoorinje747 Год назад
Dear Sir, your teaching methods are exceptional. I would greatly appreciate it if you could create a comprehensive, real-time Kubernetes project tutorial from beginning to end. I would also be grateful if you could include instructions on deploying Kubernetes using Helm.
@PavanElthepu
@PavanElthepu Год назад
Sure. Thank you so much
@sailakshme6962
@sailakshme6962 Год назад
wonderful explanation.
@sagarahire-ys3uj
@sagarahire-ys3uj 8 месяцев назад
dude awesome content...this channel deserves much more subs.. nicely explained
@PavanElthepu
@PavanElthepu 8 месяцев назад
Thank you, please subscribe and share with your friends and colleagues
@agun21st
@agun21st Год назад
Very nice and easy example about job and cron job on kubernetes. Thank you sir.
@PavanElthepu
@PavanElthepu Год назад
Thank you. Please subscribe and share with your friends and colleagues
@GN-fv5ek
@GN-fv5ek 11 месяцев назад
What a great content in simple words. Willing to work with you as a team member. You are too good. Such content is really appreciated. Many many thanks again.😊
@PavanElthepu
@PavanElthepu 11 месяцев назад
Sure🙂 Please connect on LinkedIn
@vikram_bharadwaj
@vikram_bharadwaj 8 месяцев назад
great explanation!
@Civaranjan
@Civaranjan 7 дней назад
Hi Mr.Pavan bro please upload more videos about k8s.
@FishingBolts
@FishingBolts Год назад
❤..Explain its for bigner level every upcoming videos , means give a breath on each config explanation, implementation and come back to the yalm and explain it slowly. RBAC video I need to download and watch slowly mode to get understand each and everyone, thats was created with out giving time to think us. Timeing is not a matter if video is lengthy in case explanation is perfect as providing. Expecting more explanation of each aspects.
@Learner-hg4hj
@Learner-hg4hj 11 месяцев назад
Awesome lecture sir ! You are the best ! Pretty concise and clear
@PavanElthepu
@PavanElthepu 11 месяцев назад
Thank you so much. Please subscribe and share with your friends and colleagues
@dummymail6029
@dummymail6029 3 месяца назад
great video and thanks pavan
@user-ki6cb6en9d
@user-ki6cb6en9d Год назад
Thank you so much :)
@papireddydondeti702
@papireddydondeti702 4 месяца назад
Nice explination. thank you.
@PavanElthepu
@PavanElthepu 4 месяца назад
Thank you. Please subscribe and share with your friends and colleagues
@AbdulRehmanDO
@AbdulRehmanDO 3 месяца назад
Nice,thanks a lot pavan
@taiz2908
@taiz2908 Год назад
Hi Pavan I’m regular follower of your channel, your videos are so informative & easy to understand. just requesting you please upload /finish k8s videos asap and if you get some time please upload some pod troubleshooting / debugging related videos. Kind regards
@PavanElthepu
@PavanElthepu Год назад
Hi Taizun Ahmed. Thank you so much. Sure.
@prabhreddy8686
@prabhreddy8686 Год назад
@pavan - I have completed all your videos and learned a lot….eagerly waiting for next vidoes😊 Thanks
@PavanElthepu
@PavanElthepu Год назад
Thank you so much Prabh. Please share with your friends and colleagues
@prabhreddy8686
@prabhreddy8686 Год назад
@pavan - Thanks for taking time and making these videos . All your k8 videos are just awesome….. My personal request : In your next series could you please add helm,service accounts also if possible cover remaining concepts.
@PavanElthepu
@PavanElthepu Год назад
Hi Prabh, thank you so much. Service accounts are already covered in RBAC video
@ShourovRoy-pk5zm
@ShourovRoy-pk5zm 2 месяца назад
Please update this k8s series. Mongodb has changed a lot. The auths are not working with env anymore and the headless services in rs.initiate
@39vignesh.m35
@39vignesh.m35 8 месяцев назад
How to setup HA kubernet cluster using kubeadam with two load balancer
@39vignesh.m35
@39vignesh.m35 8 месяцев назад
I have self hosted k8s 3 node cluster can i use bitnami postgres ha chart
@user-tz4cu9nn2v
@user-tz4cu9nn2v 6 месяцев назад
Dear Sir, Please create a realtime end to end K8s project with multiple microservices where each microservice will be different i.e mix of java, python, nodejs, etc different dbs with deployment, statefulset, namespace, services, ingress, etc
@PavanElthepu
@PavanElthepu 6 месяцев назад
Sure
@farrukhfareed7182
@farrukhfareed7182 Год назад
Excellet content....can you please create videos on gateway api on GKE
@PavanElthepu
@PavanElthepu Год назад
Noted Farrukh Fareed
@GN-fv5ek
@GN-fv5ek 11 месяцев назад
Can we perform etcd backup using cronjob?
@user-hw8vb2lz2w
@user-hw8vb2lz2w 10 месяцев назад
Hi Pavan, can we use this jobs concept to take backup ofdb, if my db is not deployed on kuberentes cluster, it is deployed on standalone.
@PavanElthepu
@PavanElthepu 10 месяцев назад
You can as long as you’re able to connect to your DB from K8s
@awssoorinje747
@awssoorinje747 Год назад
Sir, Could you please cover networking in kubernete (cni) and coredns topics and finally Helm.
@narigina6414
@narigina6414 Год назад
thank you for a clearer explanation. Can we set these cronjobs to take the backup of pod logs..!! Will that be possible
@PavanElthepu
@PavanElthepu Год назад
Anything can be done. At last cronjob runs as a pod, and that pod runs an application. And that application code can be anything!
@narigina6414
@narigina6414 Год назад
@@PavanElthepu Thank you for clarifying. Very clear now & confident.
@sairam-bl6bx
@sairam-bl6bx Год назад
Hai, please explain Helm and Isto and service mesh also. Tq for your support.
@PavanElthepu
@PavanElthepu Год назад
Sure Sai
@sairam-bl6bx
@sairam-bl6bx Год назад
And in interview They asking What are regular errors you are seeing in k8s. Like that they are asking
@PolaganiSamuel
@PolaganiSamuel 11 месяцев назад
Hi Pavan, Videos was very informative. One doubt, pods are ephemeral, here you have used pod names like mongo-0, monto-1 etc. If the pod restarted and the name of the pod will change(If it is not StatefulSet), in that case how can we write cronjob? I have such requirement, so asking you
@PavanElthepu
@PavanElthepu 11 месяцев назад
I used pod names because my mongo deployment is Statefulset. If it's not statefulset, you can use service name
@user-xb7kj1xe7z
@user-xb7kj1xe7z Год назад
Full kuberetes video
@SarfarazAhmad89
@SarfarazAhmad89 9 месяцев назад
play at 1.5x
@RaviSharma-th9fi
@RaviSharma-th9fi Год назад
Hey pawan , yesterday interviewer asked to me a question How to secure application in kubernetes Could you please give me answer of it or any hint so that I can search answer of it
@PavanElthepu
@PavanElthepu Год назад
Using RBAC, network policies, pod security policies, secret management etc..
@RaviSharma-th9fi
@RaviSharma-th9fi Год назад
@@PavanElthepu thanks pawan
@rdx321321
@rdx321321 Месяц назад
Why the pod status is 0/1
@PavanElthepu
@PavanElthepu Месяц назад
That means, your container is not ready
Далее
Probes in Kubernetes with Hands-on
18:27
Просмотров 14 тыс.
Kubernetes Volumes Simplified
39:37
Просмотров 30 тыс.
아이들은 못말려 〰️ With #짱구
00:11
Просмотров 410 тыс.
Deploy a production Database in Kubernetes
8:56
Просмотров 7 тыс.
Kubernetes Jobs & Cronjobs | How it works
15:06
Просмотров 1,7 тыс.
Statefulsets | Deploying MongoDB cluster to Kubernetes
18:22
[ Kube 11 ] Jobs & Cronjobs in Kubernetes Cluster
36:36
RBAC in Kubernetes
20:27
Просмотров 29 тыс.
Autoscaling in Kubernetes
19:07
Просмотров 19 тыс.