OpsCanary
Learn/Kubernetes/Autoscaling
Kubernetes

Autoscaling

2 articles from official documentation

Practitioner2 articles
kubernetesautoscalingPractitioner

HPA in Production: What the Docs Don't Tell You

Horizontal Pod Autoscaling (HPA) is a game-changer for managing workloads in Kubernetes. It automatically scales your Pods to match demand, but there are critical nuances you need to grasp for effective implementation. Dive in to learn how to configure it properly and avoid common pitfalls.

  • Configure the sync period with --horizontal-pod-autoscaler-sync-period to optimize responsiveness.
  • Set resource requests for all containers to ensure accurate CPU utilization metrics.
5 min read·Kubernetes Docs
Read article
kubernetesautoscalingPractitioner

Mastering Autoscaling in Kubernetes: HPA, VPA, and Beyond

Autoscaling is crucial for maintaining application performance and resource efficiency in Kubernetes. With tools like HorizontalPodAutoscaler and VerticalPodAutoscaler, you can dynamically adjust your workloads based on real-time metrics. This article dives into how these components work and what you need to watch out for in production.

  • Implement HorizontalPodAutoscaler to adjust replicas based on CPU or memory usage.
  • Install the Metrics Server for VerticalPodAutoscaler to function correctly.
5 min read·Kubernetes Docs
Read article