Advance workloads in Kubernetes

Course Description

This course takes you beyond standard stateless deployments and into the world of advanced Kubernetes workloads. You will learn how to manage complex application patterns required for production-grade systems. The curriculum provides a deep dive into DaemonSets for running node-level agents, StatefulSets for deploying and scaling stateful applications like databases, and Jobs and CronJobs for handling batch processing and scheduled tasks. Through a series of in-depth, hands-on labs, you will master the nuances of persistent storage, stable network identities, and specialized workload controllers, enabling you to run virtually any application on Kubernetes.

Who is this course for

This is an advanced course designed for experienced Kubernetes professionals who need to manage complex and stateful applications. It is ideal for:

  • Senior DevOps Engineers & SREs: Who architect and maintain production Kubernetes environments.

  • Kubernetes Administrators: Responsible for managing the full lifecycle of diverse applications on a cluster.

  • Solutions Architects & Cloud Engineers: Who design scalable, resilient systems for stateful services like databases, message queues, and monitoring agents.

Course Objectives

Upon successful completion of this course, you will be able to:

  • Deploy Node-Specific Pods: Use DaemonSets to ensure a copy of a pod runs on all (or some) nodes in a cluster for tasks like logging and monitoring.

  • Manage Stateful Applications: Deploy and scale stateful applications using StatefulSets, providing pods with persistent storage and stable, unique network identifiers.

  • Run Batch Processes: Execute one-off or batch tasks to completion using Jobs.

  • Schedule Recurring Tasks: Create CronJobs to run automated, scheduled tasks within your cluster.

  • Differentiate Workload Types: Confidently choose the correct Kubernetes workload (Deployment, StatefulSet, DaemonSet) for any given application scenario.

  • Provision Persistent Storage: Understand and utilize Kubernetes storage concepts to provide persistent data to your workloads.

Prerequisites

To succeed in this course, you must have:

  1. Strong, Practical Kubernetes Experience: You must be proficient with core Kubernetes objects, including Pods, Deployments, Services, and ConfigMaps/Secrets.

  2. Advanced kubectl and YAML Skills: You should be very comfortable creating and managing resources from the command line and writing complex YAML manifests.

  3. A Working Kubernetes Cluster: You need access to a multi-node Kubernetes environment to fully appreciate concepts like DaemonSets.

Course outline

Section 1: DaemonSets Fundamentals

  1. Introduction to DaemonSets

  2. The Anatomy of a DaemonSet Manifest File

  3. Hands-on Lab: DaemonSet Management in Kubernetes

  4. Using a Service with a DaemonSet in a Multi-Node Cluster

Section 2: StatefulSets Fundamentals

  1. Introduction to StatefulSet

  2. Hands-on Lab: StatefulSet Management in Kubernetes

  3. Understanding Headless Services

  4. Hands-on Lab: Creating a Headless Service for a StatefulSet

  5. Hands-on Lab: Pod Management Policies in StatefulSets

  6. Hands-on Lab: Configuring Init Containers in StatefulSets

  7. Hands-on Lab: Storage Configuration (Persistent vs. Ephemeral) in StatefulSets

  8. Comparing Deployments, DaemonSets, and StatefulSets

Section 3: Jobs Fundamentals

  1. Introduction to Jobs

  2. Hands-on Lab: Using a Job to Perform a MySQL Database Backup

Section 4: CronJobs Fundamentals

  1. Cron Expressions in Linux

  2. Introduction to CronJobs in Kubernetes

  3. The Difference Between Jobs and CronJobs

Section 5: Kubernetes Storage Fundamentals

  1. Introduction to Kubernetes Storage

  2. An Overview of Volume Types in Kubernetes

  3. Hands-on Lab: Launching NGINX with Persistent Storage Using hostPath

Section 6: PV and PVC in Kubernetes

  1. Introduction to Persistent Volumes (PV) and Persistent Volume Claims (PVC)

  2. Hands-on Lab: Nginx Deployment with a Persistent Volume and Claim

Testimonials


subscribe to our newsletter

Product updates, news and promotions. No spam ever.

Copyright © 2024 CloudTraining

Terms

Privacy Policy

subscribe to our newsletter

Product updates, news and promotions. No spam ever.

Copyright © 2024 CloudTraining

Terms

Privacy Policy

subscribe to our newsletter

Product updates, news and promotions. No spam ever.

Copyright © 2024 CloudTraining

Terms

Privacy Policy