Company
Date Published
Author
Daniel Kim
Word count
1750
Language
English
Hacker News points
None

Summary

Kubernetes autoscaling allows you to automatically adjust the number of running instances of an application based on observed resource utilization or custom metrics. There are two main types of autoscaling: Horizontal Pod Autoscaler (HPA) and Vertical Pod Autoscaler (VPA). HPA adjusts the number of pods, while VPA adjusts the CPU and memory resource requests of individual pods. By using New Relic's Kubernetes integration with Pixie, you can automatically scale your deployments based on metrics gathered from your applications and infrastructure services. This allows for improved availability, cost-effectiveness, and reduced manual intervention. To implement this solution, you need to deploy a minikube cluster, install the New Relic Metrics Adapter, test your NRQL query, configure your HPA, add load to trigger autoscaling, and follow best practices for Kubernetes autoscaling.