Hands-On Guide to Horizontal Pod Autoscaler on AWS EKS| HPA | AWS EKS Tutorial

Опубликовано: 19 Октябрь 2024
на канале: Lian
126
3

We run a hands-on demo Horizontal Pod Autoscaler in AWS EKS.
We run a hands-on demo on eks hpa.

👉🏼 Video content file: https://gitlab.com/LianDuanTrainingGr...
👉🏼 YAML files: https://gitlab.com/LianDuanTrainingGr...

🧡 Subscribe to show your support! https://bit.ly/3hrhOmW

Video Related Commands:
🌕 Create an EKS cluster using Terraform:
terraform init
terraform apply
🌕 Installs Kubernetes Metrics Server
kubectl apply -f https://github.com/kubernetes-sigs/me...
🌕 Deploy Nginx
kubectl apply -f nginx-deployment.yaml
🌕 Exposes the Deployment
kubectl expose deployment nginx-deployment --name=nginx-service --port=80 --target-port=80 --type=LoadBalancer
🌕 Retrieves Nginx Service URL
kubectl get service nginx-service
🌕 Create HPA
kubectl apply -f hpa-behavior-demo.yaml
kubectl get hpa -w
🌕 Load Testing for Sample HPA
ab -n 100000 -c 100 -k http://XYZ.us-east-1.elb.amazonaws.com/
🌕 Destroys all the resources provisioned by Terraform
terraform destroy
kubectl delete service nginx-service


⏰ T I M E S T A M P S ⏰
00:00 Start
01:35 Horizontal Pod Autoscaler
02:24 Amazon EKS Architecture
03:30 Hands-on Demo Prerequisites
04:10 Overview Hands-on Demo
05:24 Create EKS via Terraform
07:06 Create Metrics Server
07:57 Deploy a Nginx Application
10:02 Configure Horizontal Pod Autoscaling
11:36 Trigger Autoscaling with Load Generation
12:56 Summary
------------------------------------------------------------------------------------

👋-----------------------------------------------------------------------------------
Easy Connect:
🏢 https://bit.ly/3tN3DeI
🐦 https://bit.ly/3LF2q1Z