Course Outline
Module 1: Microservices Design
• Defining optimal Microservice Boundaries
• Applying Domain Driven Design (DDD)
• Alternatives to Business Domain Boundaries (Volatility, Data, Technology, Organizational)
• Strategies for Splitting the Monolith
• Avoiding Premature decomposition
• Decomposition By Layer
• Utilizing Decomposition Patterns (Strangler, Parallel Run, Feature Toggle)
• Addressing Data Decomposition Concerns (Performance, Integrity, Transactions)
Module 2: Optimizing Docker and the Runtime
• Selecting the appropriate base image
• Minimizing the number of layers
• Implementing multi-stage builds
• Image optimization techniques (e.g., sorting multi-line arguments)
• Leveraging the build cache
• Pinning specific image versions
• Fine-tuning resource allocation
• Adhering to secure container practices
• Configuring the runtime for peak performance
Module 3: Kubernetes & Release Strategies
Overview of Kubernetes Deployments
• Creating and executing an Initial Deployment
• Exploring Kubernetes Deployment Options
Executing Rolling Update Deployments
• Understanding the mechanics of Rolling Updates
• Creating and executing a Rolling Update
• Performing Deployment Rollbacks
Executing Canary Deployments
• Understanding Canary Deployments
• Creating and executing a Canary Deployment
Executing Blue-Green Deployments
• Understanding Blue-Green Deployments
• Creating and executing a Blue-Green Deployment
Managing Jobs and CronJobs
• Creating a Job and CronJob
Conducting Monitoring and Troubleshooting Tasks
• Employing Troubleshooting Techniques with kubectl
Module 4: Automation & Operational Efficiency
Automating Common Tasks in Kubernetes with Python
• Using Python for administrative operations in Kubernetes
• Defining Configuration objects with Python
• Creating Deployment objects using Python
• Monitoring Kubernetes Events via Python
• Scaling Deployments using Python scripts
Addressing Challenges in Deployment Automation
• Declarative Configuration within Kubernetes
• Maintaining Configuration Integrity
Implementing GitOps for Deployment Automation
• Core GitOps Principles
• Introduction to Flux
• Installing Flux onto a Kubernetes Cluster
Configuring Flux for Automated Deployments
• Utilizing Notifications
• Structuring the Source Repository
Managing Application Updates with Image Automation
• Updating Application Deployments via Flux
• Scanning Container Image Repositories for new Tags
• Defining Policies for selecting the Latest Image
• Configuring Flux to perform Automatic Image Updates
Module 5: Observability & Root Cause Clarity
Kubernetes Logging and Tracing Capabilities
• The Importance of Logging and Tracing
• Accessing Kubernetes Logs
• Examining Pod and Container Logs
• Analyzing Control Plane Logs
• Assessing Resource Usage for Nodes and Pods
Collecting and Analyzing Logs
• Log Aggregation strategies
• Log Visualization techniques
Implementing Distributed Tracing in Kubernetes
• Defining Distributed Tracing
• Utilizing OpenTelemetry
• Leveraging Distributed Tracing Tools
• Instrumenting Applications
• Using Tracing to Identify Performance Issues
Monitoring with Prometheus and Grafana
• Core Observability Concepts
• Overview of Monitoring Tools
• Applying Prometheus Instrumentation
Advanced Use Cases for Logging
• Processing Logs
• Filtering and Enriching Logs
• Implementing Event Sourcing
Module 6: Cluster Crisis Simulation & Incident Response
• Understanding various failure types in cluster environments
• Simulating Node Failures
• Pod Eviction & Resource Exhaustion Scenarios
• Addressing Network Issues
• Handling DNS failures and application timeout scenarios
• Simulating API Server Outages
• Simulating high traffic loads for system stability testing
• Managing Storage Failures
• Resolving Configuration Errors
• Understanding Incident Reporting Procedures
Module 7: AI To support Troubleshooting
• Benefits of Generative AI for Kubernetes
• Architecture of the K8sGPT CLI
• Installing the K8sGPT CLI
• K8sGPT Commands and Usage guidelines
• Utilizing K8sGPT Analyzers (podAnalyzer, pvcAnalyzer, rsAnalyzer, etc.)
• Analyzing Clusters using K8sGPT
• Diagnosing Real-Time Issues with K8sGPT
• Deploying the In-Cluster Operator for K8sGPT
Requirements
- Foundational knowledge of the Linux command line
- Prior experience in application development or system administration
- Familiarity with container concepts (Docker)
- Basic understanding of Kubernetes components (pods, deployments, services)
- General comprehension of software architecture (e.g., APIs, services)
Target audience:
- DevOps Engineers
- Site Reliability Engineers (SREs)
- Backend / Software Developers working with microservices
- Cloud Engineers and Platform Engineers
-
System Administrators transitioning to Kubernetes environments
Testimonials (2)
Craig was extremely involved in the training, always making sure we are paying attention, adapted the examples to our day-to-day activities and always provided an answer when asked, even if the information was not added in the presentation.
Ecaterina Ioana Nicoale - BOOKING HOLDINGS ROMANIA SRL
Course - DevOps Foundation®
High level of commitment and knowledge of the trainer