Loading video player...
Learn how to automate and schedule your Kubernetes workloads with Jobs and CronJobs in this hands-on tutorial! š This video explains how to create, monitor, and debug Kubernetes Jobs for one-time tasks and CronJobs for recurring schedules ā step by step on Rocky Linux using Minikube, but works on any Linux distro. Perfect for DevOps engineers and system administrators who want to master Kubernetes automation and task scheduling with real-world examples. āļø Understand what Jobs & CronJobs are in Kubernetes š„ Learn how to write YAML definitions for Jobs & CronJobs āļø Run and verify Jobs on Minikube (Rocky Linux demo) š§° Schedule recurring Jobs using Cron expressions š” Debug failed Jobs and view Pod logs like a pro š§© Commands Used in This Video: # Create a CronJob YAML file kubectl apply -f print-time-cronjob.yaml # View the created CronJob kubectl get cronjobs # Describe the CronJob for more details kubectl describe cronjob print-time-cron # List jobs created by the CronJob kubectl get jobs -l job-name=print-time-cron # List all pods kubectl get pods # View logs of a specific pod kubectl logs pod-name # Manually trigger the CronJob (if needed) kubectl create job --from=cronjob/print-time-cron manual-job # Delete the CronJob kubectl delete cronjob print-time-cron š Subscribe for more tutorials and leave your thoughts in the comments below. š *Continue Learning with These Playlists* : š§ *Linux for Beginners* (Start from scratch): š [Watch the Playlist](https://www.youtube.com/playlist?list=PL4y5PiOmBnA84TiMlXFWflKYYhatkjQlV) š» *Linux Command Line Tutorials* (Terminal-focused skills): š [Explore Commands](https://www.youtube.com/playlist?list=PL4y5PiOmBnA83IhbSvF2t1yJVG4qVd-yO) š *Kubernetes Series for Admins and Devs* : š [Start Learning Kubernetes](https://www.youtube.com/playlist?list=PL4y5PiOmBnA9KrxpnrBzgvSpdEqD6LmtI) #Kubernetes #CronJobs #KubernetesJobs #DevOps #TechOpsTutorials