In this demo we will show how to scale K8S (HPA) using custom metrics. The aim of this tutorial is to demonstrate the required steps for implementing custom metrics.
- Existing Cluster
- kubectl Installation
- helm3 Installation
- Create deployment and autoscale by number of request in the last 30 seconds Write yourself the yaml files (practice) -
- In this step we are going to install prometheus and configure custom metrics.
- Install prometheus
- configure HPA metrics
- Test the scale