aws-samples / eks-workshop-v2

Hands-on labs for Amazon EKS
https://www.eksworkshop.com
Apache License 2.0
366 stars 374 forks source link

new: Autoscaling with KEDA #794

Open niallthomson opened 5 months ago

niallthomson commented 5 months ago

Outline the high level topic of the lab

KEDA provides a way to autoscale Kubernetes pods with a more diverse set of metrics sources than HPA alone. For example KEDA can integrate with CloudWatch and Prometheus.

Provide the flow of the lab exercise, including what sample application components will be used

User will install KEDA in the cluster using the helm chart.

Configure a ScaledObject resource that targets the ui Deployment. It should use the CloudWatch scaler as a trigger and use the RequestCountPerTarget metrics to ensure each target only receives a specific number of HTTP requests per time period (seconds, minutes).

What additional AWS infrastructure or EKS addons/components will need to be created or installed to support this lab?

IAM role for KEDA to access CloudWatch metrics.

AWS Load Balancer controller should be installed and an ALB via Ingress

What additional software or configuration will be required in the Cloud9 IDE?

None

Are enhancements to the retail sample application required to support this lab exercise?

No

dms486 commented 2 months ago

I'll work on this