Skip to content
kurniawaanrPublic

About

Horizontal Pod Autoscaler on Kubernetes

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

HPA - Kubernetes on Minikube

the ideas to create Horizontal Pod Autoscaling based on CPU utilization with prometheus and grafana to continously monitoring cluster. This project aims to fulfill final assignment, it might be a lot of misconception about everything and it might be not a best practice to do. im still working and learn on this project to make it perfect.

used tools :

Software Version
Ubuntu v20.04
Minikube v1.31.2
Kubernetes v1.27.4
Kubectl v1.28.4
Docker v24.0.4
kube-stats-metrics v2.10.0
Prometheus v2.47.2
Grafana v10.2.0

Tip

please use specific version mentioned above to avoid error

Installation Steps

required to install before begin:

  1. install minikube
  2. install kubectl
  3. install Docker

Deployment Steps

this deployment using php to create demo web app that use a lot of CPU resource. you can use another programming language too, as long as it can stimulate high CPU resource.

  1. deploy demo app (using php-apache) in this section
  2. deploy load generator (using busybox) in this section
  3. deploy Horizontal Pod Autoscaler 1in this section
  4. deploy configure monitoring tools in this section
  5. deploy Prometheus
  6. deploy Grafana

References

Footnotes

  1. Horizontal Pod Autoscaler. HPA ↩

About

Horizontal Pod Autoscaler on Kubernetes

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages