- Red Hat Account and Developer Sandbox.
Log in with your Red Hat Account.
From the Developer perspective, click on the +Add button.
Go to Samples and select "Create an application from a code sample."
Choose the .NET Builder Images Sample
.
Review the repository and click Create.
Wait for the pod to be ready in the Topology section.
From the dotnet-sample
deployment, click Actions > Edit resource limits.
Set the resource limits and requests, then click Save.
From the dotnet-sample
deployment, click Actions > Add HorizontalPodAutoscaler.
Set the CPU Utilization to 5% and click Save.
Initialize the terminal with your project and click Start.
git clone https://github.com/maximilianoPizarro/testing-cpu-based-hpa-ocp.git
chmod 777 ./testing-cpu-based-hpa-ocp/test-hpa.sh
./testing-cpu-based-hpa-ocp/test-hpa.sh