A similar issue #1902 has been closed by its author, however, it would be good to get a direct answer from the maintainers.
In AL2 we used the /etc/eks/max-pods-calculator.sh script to calculate max pods with the prefix delegation and to pass this number to Karpenter. However, it seems that this script is not provided in AL2023. What are the recommended alternatives now? Should we resort to fetching the script from this repo at boot time? This does not seem right