Home / Companies / Sysdig / Blog / Post Details
Content Deep Dive

Trigger a Kubernetes HPA with Sysdig metrics

Blog post from Sysdig

Post Details
Company
Date Published
Author
Jesus Ángel Samitier
Word Count
475
Language
English
Hacker News Points
-
Summary

In this article, readers are guided through the process of configuring Keda to deploy a Kubernetes Horizontal Pod Autoscaler (HPA) using metrics from Sysdig Monitor. Keda, an open-source project, allows the scaling of Kubernetes pods through Prometheus queries, and this article builds on previous knowledge of creating an HPA with standard Prometheus queries by utilizing Sysdig's managed Prometheus solution. The example scenario involves scaling an Nginx deployment from one to five replicas based on the nginx_connections_waiting metric. The article explains the necessary steps, including creating a secret with the Sysdig API token, setting up a TriggerAuthentication object, and creating a ScaledObject to manage the scaling process. The process demonstrates the integration of Sysdig Monitor with Keda to automate scaling decisions in a Kubernetes environment efficiently.