Course Outline
Module 1: Microservices Design
• Defining an effective Microservice Boundary
• Applying Domain Driven Design (DDD)
• Exploring alternatives to Business Domain Boundaries (Volatility, Data, Technology, Organizational)
• Strategies for Splitting the Monolith
• Avoiding Premature decomposition
• Decomposition By Layer
• Utilizing Decomposition Patterns (Strangler Fig, Parallel Run, Feature Toggle)
• Addressing Data Decomposition Concerns (Performance, Integrity, Transactions)
Module 2: Optimizing Docker and the Runtime
• Selecting the appropriate base image
• Reducing the number of layers
• Implementing multi-stage builds
• Image optimization techniques (e.g., sorting multi-line arguments)
• Maximizing build cache utilization
• Pinning specific image versions
• Fine-tuning resource allocation
• Adhering to secure container practices
• Configuring runtime settings for optimal performance
Module 3: Kubernetes & Release Strategies
Kubernetes Deployments Overview
• Establishing and executing an Initial Deployment
• Navigating Kubernetes Deployment Options
Performing Rolling Update Deployments
• Understanding the concept of Rolling Updates
• Creating and executing a Rolling Update
• Executing Deployment Rollbacks
Performing Canary Deployments
• Understanding Canary Deployments
• Creating and executing a Canary Deployment
Performing 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
• Applying Troubleshooting Techniques with kubectl
Module 4: Automation & Operational Efficiency
Automating Common Kubernetes Tasks Using Python
• Utilizing Python for administrative operations in Kubernetes
• Defining Configuration objects via Python
• Creating Deployment objects using Python
• Monitoring Kubernetes Events with Python
• Scaling Deployments programmatically using Python
Understanding the Challenges of Automating Deployments
• Embracing Declarative Configuration with Kubernetes
• Maintaining Configuration Integrity
Adopting the GitOps Approach for Automated Deployments
• Core GitOps Principles
• Introduction to Flux
• Installing Flux onto a Kubernetes Cluster
Configuring Flux for Automated Deployments
• Setting up Notifications
• Structuring the Source Repository
Managing Application Updates with Image Automation
• Updating Application Deployments via Flux
• Scanning Container Image Repositories for new Tags
• Establishing Policies for Latest Image selection
• Configuring Flux to handle 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
• Reviewing Control Plane Logs
• Monitoring Resource Usage on Nodes and Pods
Collecting and Analyzing the Logs
• Log Aggregation strategies
• Log Visualization techniques
Distributed Tracing in Kubernetes
• What is distributed tracing?
• Implementing OpenTelemetry
• Overview of Distributed Tracing Tools
• Instrumenting an Application
• Utilizing Tracing to Identify Performance Issues
Monitoring with Prometheus and Grafana
• Core Observability concepts
• Overview of Monitoring Tools
• Implementing Prometheus Instrumentation
Advanced Use Cases for Logging
• Processing Logs
• Filtering and Enriching Logs
• Event Sourcing methodologies
Module 6: Cluster Crisis Simulation & Incident Response
• Recognizing various failure types in a cluster environment
• Simulating Node Failures
• Simulating Pod Eviction & Resource Exhaustion Scenarios
• Addressing Network Issues
• Handling DNS failures leading to application timeouts
• Simulating an API Server Outage
• Testing System Stability under High Traffic Conditions
• Simulating Storage Failures
• Identifying Configuration Errors
• Understanding Incident Reporting Procedures
Module 7: AI To Support Troubleshooting
• Advantages 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.)
• Conducting Cluster Analysis using K8sGPT
• Investigating Real-Time Issues with K8sGPT
• Deploying the In-Cluster Operator for K8sGPT
Requirements
- Fundamental knowledge of Linux command line
- Experience in application development or system administration
- Familiarity with container concepts (Docker)
- Brief understanding of Kubernetes basics (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