This is the first time I deployed Cluster Autoscaler (CA) on EKS.
The CA configuration file contains Limits & Requests:
Limits:
│ cpu: 100m
│ memory: 300Mi
│ Requests:
│ cpu: 100m
│ memory: 300Mi
My questions are the following:
If I deploy a pod (for example nginx) and I deploy it without specifying resources requests & limits in the pod's configuration, will the CA know how much resources nginx needs and allocate the proper amount?
Documentation is your friend:
Which brings us to your second question: if a pod is spawned based on a config file without limits & resources, the defaults will be those specified for the master node.
1: https://docs.aws.amazon.com/eks/latest/userguide/cluster-autoscaler.html