简体   繁体   中英

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?

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM