Course Outline
Module 1: Microservices Design
• Defining Effective Microservice Boundaries
• Applying Domain Driven Design (DDD)
• Alternatives to Business Domain Boundaries (Volatility, Data, Technology, Organizational)
• Strategies for Splitting the Monolith
• Risks of 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)
• Maximizing the use of the build cache
• Pinning image versions for stability
• Fine-tuning resource allocation
• Adhering to secure container practices
• Optimizing runtime configuration for performance
Module 3: Kubernetes & Release Strategies
Overview of Kubernetes Deployments
• Executing an Initial Deployment
• Kubernetes Deployment Options
Executing Rolling Update Deployments
• Understanding the Rolling Update mechanism
• 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
Running Jobs and CronJobs
• Creating a Job and CronJob
Performing Monitoring and Troubleshooting Tasks
• Troubleshooting Techniques using kubectl
Module 4: Automation & Operational Efficiency
Automating Common Tasks in Kubernetes with Python
• Using Python for administrative operations in Kubernetes
• Defining Configuration objects via Python
• Creating Deployment objects using Python
• Monitoring Kubernetes Events with Python
• Scaling Deployments programmatically with Python
Understanding the Challenges of Automating Deployments
• Declarative Configuration in Kubernetes
• Maintaining Configuration Integrity
Implementing the GitOps Approach for Automated Deployments
• Core GitOps Principles
• Introduction to Flux
• Installing Flux into a Kubernetes Cluster
Configuring Flux for Automated Deployments
• Utilizing Notifications
• Structuring the Source Repository
Managing Application Updates with Image Automation
• Updating Application Deployments with Flux
• Scanning Container Image Repositories for Tags
• Defining Policies for Latest Image Selection
• Configuring Flux for Automatic Image Updates
Module 5: Observability & Root Cause Clarity
Kubernetes Logging and Tracing Capabilities
• The Importance of Logging and Tracing
• Accessing Kubernetes Logs
• Pod and Container Logs
• Control Plane Logs
• Resource Usage Analysis for Nodes and Pods
Collecting and Analyzing Logs
• Log Aggregation Strategies
• Log Visualization Techniques
Distributed Tracing in Kubernetes
• Understanding Distributed Tracing
• Leveraging OpenTelemetry
• Distributed Tracing Tools
• Instrumenting Applications for Tracing
• Identifying Performance Issues via Tracing
Monitoring with Prometheus and Grafana
• Core Observability Concepts
• Overview of Monitoring Tools
• Implementing Prometheus Instrumentation
Advanced Use Cases for Logging
• Log Processing
• Filtering and Enriching Logs
• Event Sourcing
Module 6: Cluster Crisis Simulation & Incident Response
• Understanding Various Failure Types in Cluster Environments
• Simulating Node Failures
• Simulating Pod Eviction & Resource Exhaustion Scenarios
• Addressing Network Issues
• Handling DNS Failures and Application Timeouts
• Simulating API Server Outages
• Simulating High Traffic for System Stability Testing
• Simulating Storage Failures
• Addressing Configuration Errors
• Understanding Incident Reporting Procedures
Module 7: AI To support Troubleshooting
• Benefits of Generative AI for Kubernetes
• Architecture of K8sGPT CLI
• Installing the K8sGPT CLI
• K8sGPT Commands and Usage Guidelines
• Utilizing K8sGPT Analyzers (podAnalyzer, pvcAnalyzer, rsAnalyzer, etc.)
• Analyzing the Cluster using K8sGPT
• Analyzing Real-Time Issues using K8sGPT
• Deploying the In-Cluster Operator for K8sGPT
Requirements
- Fundamental knowledge of the Linux command line
- Experience in application development or system administration
- Familiarity with container concepts (Docker)
- Basic understanding of Kubernetes core concepts (pods, deployments, services)
- General understanding 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