github kubernetes-sigs/aws-load-balancer-controller v2.5.0

latest releases: v2.8.3, v2.8.2, v2.8.1...
17 months ago

v2.5.0 (requires Kubernetes 1.22+)

Documentation

Image: public.ecr.aws/eks/aws-load-balancer-controller:v2.5.0

Thanks to all our contributors! 😊

Action Required

🚨 🚨 🚨 The v2.5.0 ingress validator is not able to handle ingress rules without HTTP path due to bug #3158. If your ingress rules don't have the http pats defined, do not upgrade to v2.5.0 release.

  • 🚨 🚨 🚨We've updated the controller manifests, so either use helm upgrade or apply the new manifest. The new controller image is not compatible with manifests from earlier releases, so we don't recommend editing existing deployment and updating the image tag.
  • 🚨 🚨 🚨We have made the LBC the default controller for service type LoadBalancer by adding a mutating webhook. Therefore, from v2.5.0, it is required to use k8s 1.22 or later to support the spec.loadBalancerClass. This controller creates an internal NLB by default. You need to specify the annotation service.beta.kubernetes.io/aws-load-balancer-scheme: internet-facing on your service if you want to create an internet-facing NLB for your service.
  • We have added subnets, InboundCIDRs and SSLPolicy fields in IngressClassParams. If you are upgrading the chart via helm upgrade, you need to update the IngressClassParams CRD manually by running kubectl apply -k "http://github.com/aws/eks-charts/stable/aws-load-balancer-controller//crds?ref=master"

Whats new

  • The AWS LBC provides a mutating webhook for service resources to set the spec.loadBalancerClass field for service of type LoadBalancer on create. This makes the AWS LBC the default controller for service of type LoadBalancer. You can disable this feature and revert to set CCM as the default by setting the helm chart value enableServiceMutatorWebhook to false. You will no longer be able to provision new Classic Load Balancer (CLB) from your kubernetes service unless you disable this feature. Existing CLB will continue to work fine.
  • You can set the default target type for the load balancer target groups. For helm chart, you can specify the defaultTargetType value during chart install/upgrade.
  • Fields subnets, InboundCIDRs and SSLPolicy in IngressClassParams

Enhancements

  • Update controller runtime
  • Add a validation step on service annotation service.beta.kubernetes.io/aws-load-balancer-ssl-ports
  • Handle the validation error on ingress annotation alb.ingress.kubernetes.io/conditions.${conditions-name}
  • Enable EndpointsFailOpen by default
  • Allow multiple TLS certificate for the same host for ALB during certificate discovery
  • Migrate to ConfigMap leases for the leader election
  • Documentation enhancement

Changelog since v2.4.7

Don't miss a new aws-load-balancer-controller release

NewReleases is sending notifications on new releases.