Introduction to K8s Horizontal Pod Autoscaling | Monitor Autoscaling in Splunk Observability Cloud

Introduction to K8s Horizontal Pod Autoscaling | Monitor Autoscaling in Splunk Observability Cloud

Aug 12, 2024

In this video, I’m going to introduce you to Horizontal Pod Autoscaling in Kubernetes and monitoring autoscaling events in Splunk Observability Cloud. I’ll first walk through our simple application deployment definition. We will analyze the metrics of that application in Splunk Observability cloud, identifying that the application is under resource pressure. I’ll then discuss the scaling options at our disposal, and we will walk through an implementation of a Horizontal Pod Autoscaler that will automatically scale our pods according to the load they are receiving. You’ll be able to view the metrics and how the application has scaled in Splunk Observability cloud. We might even have to do some spontaneous troubleshooting along the way!

TOC:

00:00 Introduction

00:27 Application manifest overview

02:44 Pod metrics in Splunk Observability Cloud

04:28 Options for scaling our application

07:22 Implementing Horizontal Pod Autoscaler

11:50 Increasing the number of max replicas

12:57 Troubleshooting pods in CrashLoopBackOff

14:10 Monitoring updated pod metrics after scaling

15:03 Conclusion