awslabs/amazon-eks-ami

How to use max-pods-calculator.sh to set maxPods in AL2023

Closed this issue · 2 comments

Environment:

  • AWS Region: us-west-2
  • Instance Type(s): t3.medium
  • EKS Platform version: eks.13
  • Kubernetes version: 1.28
  • AMI Version: eks.v1_28.al2023

In AL2, there was a way to run max-pods-calculator.sh script in user data as it was available in AL2 runtime (https://github.com/awslabs/amazon-eks-ami/blob/main/templates/al2/runtime/max-pods-calculator.sh). This isnt the case in AL2023, what's the recommended way to calculate max-pods for an instance type in AL2023?

@shra1-fb

did you find something ?

This script was also quite convenient for us, is there an alternative for AL2023?