Kubernetes Resource and Cost Optimization
Published by Pearson
Effective and efficient deployment strategies for optimal results
- Go from “deploying everything” to “deploying what’s necessary” in 4 hours
- Learn cost and resource optimization best practices
- Engage in hands-on exercises that replicate real-world issues throughout the live training
Long gone are the days of engineers not caring about budgets. Resource and cost optimization are now expected, and learning how to deploy efficiently and economically is so essential that positions are being created for cost and resource optimization. Moving from on prem to cloud introduced unexpected costs to organizations, and leadership/management teams want to validate those costs and simplify the process.
This course focuses on how to manage and streamline your projects efficiently and emphasizes methods for keeping costs in check. You learn best practices for both cluster and cloud-level deployment while focusing on the most widely used tools, including Portainer, Rancher, Sosivio, Stormforge, and Kubecost. Throughout, there is an emphasis on how to help your business truly succeed in cluster deployments.
What you’ll learn and how you can apply it
- Cost optimization best practices and why it is important in Kubernetes
- Why resource optimization is important in Kubernetes and how to achieve it
- How to ensure that your Kubernetes environment is running as efficiently as possible
And you’ll be able to:
- Understand the critical business impact of resource optimization
- Learn how to save your team and department money by removing unused resources
- Learn how to run more efficient systems
This live event is for you because...
- You want to help your organization save money by utilizing resource optimization.
- You want to run container workloads as efficiently as possible.
- You have a passion for doing things the right way in Kubernetes.
Prerequisites
- 6-12 months of Kubernetes experience
- Kubernetes developer and administrator proficiency (equivalent of understanding the topics in the Certified Kubernetes CKA and/or CKAD exams, although certification is not needed)
- Kubernetes resource (Pods, Services, Deployments, etc.) knowledge
Course Set-up:
- Access codes files here
- Access to Azure, AWS, or both
- A running Kubernetes cluster in either Azure, AWS, or both
- A code editor such as VS Code
Recommended Preparation
- Attend: Kubernetes in 4 Hours by Sander van Vugt:
- Watch: Certified Kubernetes CKAD & CKA (Video Collection) by Sander van Vugt
- Watch: Module 1 – Security Concepts from The Complete Cybersecurity Bootcamp, 2nd Edition by Omar Santos
Recommended Follow-up
Attend: Hands-On Kubernetes and Docker Security by Omar Santos
Schedule
The time frames are only estimates and may vary according to how the class is progressing.
Segment 1: Resource and cost optimization theory (30 minutes)
- Why resource optimization
- Why cost optimization
Segment 2: Kubernetes resource optimization at the cluster level (35 minutes)
- Region-specific limits
- On-prem limits
- Available cluster resources and instance (worker node) sizes
- Pod Limits
- Pod Requests
- Pod Quotas
- Limits and requests at the namespace level
- Viewing resources that are available
Exercise/activity title: Implement limits and requests for Pods
Break (5 minutes)
Segment 3: Kubernetes cost and resource optimization at the cloud level (50 minutes)
- How cost differs in the cloud vs on-prem
- How resources are optimized in the cloud vs on-prem
- Cloud-specific tooling for cost and resource optimization
Exercise/activity title: Viewing billing cycles in the cloud
Break (5 minutes)
Segment 4: Portainer and Rancher (35 minutes)
- How Portainer and Rancher help with resource optimization
- Viewing resource utilization in Portainer
- Viewing resource utilization in Rancher
Exercise/activity title: Viewing resource utilization in Rancher and Portainer
Segment 5: Pod and Cluster Autoscaling (30 minutes)
- Scaling Pods vertically
- Scaling Pods horizontally
- Kubernetes cluster autoscaler
- Scaling clusters
- Azure VMSS
- Azure ACI Bursting
- Karpenter in AWS Exercise/activity title: Implementing Cluster Autoscaling in Azure or AWS
Break (5 minutes)
Segment 6: Cost and Resource Optimization Tooling (40 minutes)
- Cost optimization with Kubecost
- Cost optimization with cast.ai
- Implementing cost optimization with cast.ai
- Sosivio overview
- Implementing Sosivio
Exercise/activity title: Implementing cost optimization with Cast.ai
Exercise/activity title: Implementing resource optimization with Sosivio
Course wrap-up and next steps (5 minutes)
Your Instructor
Michael Levan
Michael Levan translates technical complexity into practical value. He is a seasoned engineer, consultant, trainer, and content creator in the Kubernetes and Platform Engineering space who spends his time working with startups and enterprises around the globe. Michael is also a Microsoft MVP, 4x published author, podcast host, international public speaker, CNCF Ambassador, and was part of the Kubernetes v1.28 Release Team.