HPA on AWS EKS with Fargate

9/7/2021

I have AWS EKS cluster with only Fargate profile, no Node Groups. Is it possible to enable HPA in this case? I tried to enable metric server as described here but pod creation fails with error

0/4 nodes are available: 4 node(s) had taint {eks.amazonaws.com/compute-type: fargate}, that the pod didn't tolerate.

Any insights?

-- yurybubnov
amazon-eks
amazon-web-services
aws-fargate
hpa
kubernetes

2 Answers

9/8/2021

It looks like your node have a taint - for which there is no corresponding tolerations added to pod/deployment specs. You can find more about taints and tolerations here

About autoscaling of pods it is indeed possible as can be seen from similar tutorial here

-- Vishal Biyani
Source: StackOverflow

12/30/2021

You need to create fargate profile for this. If you are deploying it into another namespace then you need to create a fargate profile for that namespace.

-- Vikas
Source: StackOverflow