kubernetes-sigs / aws-load-balancer-controller

A Kubernetes controller for Elastic Load Balancers
https://kubernetes-sigs.github.io/aws-load-balancer-controller/
Apache License 2.0
3.83k stars 1.41k forks source link

Deployment not working with AL2023 #3625

Open fwy-bhaidas opened 3 months ago

fwy-bhaidas commented 3 months ago

I Don't know whether this a bug, but when I used the AL2023, it the pod back-off restarting with below error. I am sure this AL2023 related issue as same version works with AL2.

I have tested this with helm version 1.6.0 & 1.7.2 and I am using Karpenter with Managed Node Groups to provision the nodes

{"level":"error","ts":"2024-03-24T11:59:23Z","msg":"Failed to get API Group-Resources","error":"Get \"https://10.100.0.1:443/api?timeout=32s\": dial tcp 10.100.0.1:443: i/o timeout"}

It would be highly appreciated if there instruction on how to use this for AL2023.

huangm777 commented 3 months ago

Hi--thanks for bringing this to our attention. To clarify, are you trying to install the controller with AL2023 node groups on your cluster? We will try to reproduce the issue that way if so.

fwy-bhaidas commented 3 months ago

Hi @huangm777 , Sorry I raise the issue in hurry, so I may have provided insufficient data.

I am trying to install Controller with the help of FluxCD GitOps way using helm chart, I have Karpenter provisioner which launch AL2023 AMI and this Controller getting installed on it using FluxCD. I hope this help.

Note: I have changed description in original issue above.

huangm777 commented 3 months ago

/kind bug

aravindsagar commented 3 months ago

Hi @fwy-bhaidas, thank you for elaborating on the issue. I tried reproducing the issue by launching an EC2 instance with AL2023 AMI, deploying a cluster there and installing aws-load-balancer-controller. I was able to bring up an ingress successfully. Please correct me if the issue you're facing is something else.

Also the error message you are seeing suggests an issue with communicating with kubernetes APIServer. Can you take a look at these issues and see if they're related?

  1. https://github.com/kubernetes-sigs/aws-load-balancer-controller/issues/3093
  2. https://github.com/kubernetes-sigs/aws-load-balancer-controller/issues/3610
k8s-triage-robot commented 1 week ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale