yurybubnov
yurybubnov

Reputation: 397

HPA on AWS EKS with Fargate

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?

Upvotes: 7

Views: 8305

Answers (2)

Vikas
Vikas

Reputation: 67

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.

Upvotes: 5

Vishal Biyani
Vishal Biyani

Reputation: 4407

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

Upvotes: 1

Related Questions