---
title: "Discussion on \"☑️Day 45: Learning Horizontal Pod Autoscaler (HPA) in Kubernetes🚀\" | Hashnode"
description: "Discussion on \"☑️Day 45: Learning Horizontal Pod Autoscaler (HPA) in Kubernetes🚀\". 🔹Table of Contents :\n\nIntroduction\n\nSetting Up the Environment for HPA\n\nTask: Creating a Service and Deployment Using HPA\n\nCreating the hpa.yaml File\n\nApplying the YAML File\n\nTesting the Service\n\n\n\nImplementing Horizontal Pod Autoscaling\n\nSimulating..."
url: "https://hashnode.com/posts/day-45-learning-horizontal-pod-autoscaler-hpa-in-kubernetes/670ffddd5815d832efe6bcba"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [☑️Day 45: Learning Horizontal Pod Autoscaler (HPA) in Kubernetes🚀](https://kedarpattanshetti.hashnode.dev/day-45-learning-horizontal-pod-autoscaler-hpa-in-kubernetes?utm_source=hashnode&utm_medium=feed)

🔹Table of Contents : Introduction Setting Up the Environment for HPA Task: Creating a Service and Deployment Using HPA Creating the hpa.yaml File Applying the YAML File Testing the Service Implementing Horizontal Pod Autoscaling Simulating...

Oct 16, 2024 · 4 min read · kedarpattanshetti.hashnode.dev  
Read the article

-   [#devops](https://hashnode.com/tag/devops)
-   [#devops-articles](https://hashnode.com/tag/devops-articles)
-   [#devops-journey](https://hashnode.com/tag/devops-journey)
-   [#docker](https://hashnode.com/tag/docker)
-   [#kubernetes](https://hashnode.com/tag/kubernetes)
-   [#pods](https://hashnode.com/tag/pods)
-   [#cluster](https://hashnode.com/tag/cluster)
-   [#autoscaling](https://hashnode.com/tag/autoscaling)
-   [#load-balancer](https://hashnode.com/tag/load-balancer)
-   [#hpa](https://hashnode.com/tag/hpa)
-   [#trainwithshubham](https://hashnode.com/tag/trainwithshubham)
-   [#tws](https://hashnode.com/tag/tws)
-   [#shubhamlondhe](https://hashnode.com/tag/shubhamlondhe)
-   [#90daysofdevops](https://hashnode.com/tag/90daysofdevops)
-   [#90daysofdevops-chanllenge](https://hashnode.com/tag/90daysofdevops-chanllenge)

## Written by

[Kedar Pattanshetti](https://hashnode.com/@Keda25)

@Keda25

  
[View profile](https://hashnode.com/@Keda25)

## Responses 2

Markdown supported · ⌘↵ to post

[Soothfy App](https://hashnode.com/@soothfyapp)

[Oct 19, 2024](https://hashnode.com/posts/day-45-learning-horizontal-pod-autoscaler-hpa-in-kubernetes/670ffddd5815d832efe6bcba/comment/6713bbc43808997b7d4a5b26)

This detailed guide on Horizontal Pod Autoscaler (HPA) is a fantastic resource for anyone looking to optimize their Kubernetes workloads! The step-by-step instructions for setting up HPA, along with practical examples and real-time scenarios, make it incredibly useful for both beginners and experienced users. The emphasis on dynamic scaling and cost efficiency really highlights how HPA can ensure high availability while optimizing resource usage. It’s great to see such comprehensive content shared in the #90DaysOfDevOps journey—happy learning and growing! 🚀

[Kedar Pattanshetti](https://hashnode.com/@Keda25)

[Oct 20, 2024](https://hashnode.com/posts/day-45-learning-horizontal-pod-autoscaler-hpa-in-kubernetes/670ffddd5815d832efe6bcba/comment/6713bbc43808997b7d4a5b26#reply-6715289893560825dcd1a19d)

Thank you for the kind words! 😊 I’m glad you found the guide on Horizontal Pod Autoscaler helpful. Dynamic scaling and resource optimization are indeed game-changers for Kubernetes workloads, and I’m excited to share this knowledge as part of the #90DaysOfDevOps journey. Let’s keep learning and growing together! 🚀

[Manohar Mikkili](https://hashnode.com/@springleo)

[Oct 17, 2024](https://hashnode.com/posts/day-45-learning-horizontal-pod-autoscaler-hpa-in-kubernetes/670ffddd5815d832efe6bcba/comment/6710be49d8c3113cf0e051ed)

Thanks for sharing. Did you observe any node scale outs during the HPA test? Is node autoscaling even part of HPA testing ?

[Kedar Pattanshetti](https://hashnode.com/@Keda25)

[Oct 18, 2024](https://hashnode.com/posts/day-45-learning-horizontal-pod-autoscaler-hpa-in-kubernetes/670ffddd5815d832efe6bcba/comment/6710be49d8c3113cf0e051ed#reply-67126f4ff41ca5712845980b)

Thank you for your question! My focus was on understanding pod scaling based on CPU usage. I haven’t explored node autoscaling in detail yet, but it’s on my learning list.
