Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keda operator does not install on AWS EKS Fargate #6340

Open
gildas opened this issue Nov 18, 2024 · 2 comments
Open

Keda operator does not install on AWS EKS Fargate #6340

gildas opened this issue Nov 18, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@gildas
Copy link

gildas commented Nov 18, 2024

Report

Deploying KEDA on AWS EKS Fargate fails with Keda pods complaining anout untolerated taint (eks.amazonaws.com/compute-type: fargate).

Expected Behavior

Keda pods to run.

Actual Behavior

Keda pods stay at Pending with this kind of events:

   Type     Reason            Age   From               Message                                                                                                                                                                                                                                                      
   ----     ------            ----  ----               -------                                                                                                                                                                                                                                                      
   Warning  FailedScheduling  8s    default-scheduler  0/X nodes are available: X node(s) had untolerated taint {eks.amazonaws.com/compute-type: fargate}. preemption: 0/X nodes are available: X Preemption is not helpful for scheduling.                                                                     │

Steps to Reproduce the Problem

  1. Run an AWS EKS Fargate cluster
  2. install Keda with helm install --namespace keda --ceate-namespace --set clusterName=<my-cluster> keda kedacore/keda
  3. Watch the pods

Logs from KEDA operator

No logs available from Keda as it does not install

KEDA Version

2.16.0

Kubernetes Version

1.30

Platform

Amazon Web Services

Scaler Details

No response

Anything else?

No response

@gildas gildas added the bug Something isn't working label Nov 18, 2024
@omerap12
Copy link
Contributor

I think you just need to add toleration https://github.com/kedacore/charts/blob/main/keda/values.yaml#L508

@gildas
Copy link
Author

gildas commented Dec 2, 2024

I think you just need to add toleration https://github.com/kedacore/charts/blob/main/keda/values.yaml#L508

I already tried that while getting some help from the community on slack (https://kubernetes.slack.com/archives/CKZJ36A5D/p1730281617416029?thread_ts=1729833857.363939&cid=CKZJ36A5D)

in short, I get another error:

Too many pods. preemption: 0/X nodes are available: X No preemption victims found for incoming pod

Which makes sense, since on AWS EKS Fargate, 1 pod == 1 node. This is what allows them to scale "magically".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To Triage
Development

No branches or pull requests

2 participants