Skip to content

Support kubernetes service spec.loadBalancerClass #289

@samir-gandhi

Description

@samir-gandhi

Kubernetes now supports .spec.loadBalancerClass on Services as of 1.24: https://kubernetes.io/docs/concepts/services-networking/service/#load-balancer-class.

And AWS recommends the use of this field rather than using service annotations: "EKS Auto Mode handles Network Load Balancer provisioning by default for all services of type LoadBalancer - no additional controller installation or configuration is required. The loadBalancerClass: eks.amazonaws.com/nlb specification is automatically set as the cluster default, streamlining the deployment process while maintaining compatibility with existing Kubernetes workloads."

https://docs.aws.amazon.com/eks/latest/userguide/auto-configure-nlb.html

I believe backwards compatability is still supported in form of annotations and clusters will add this attribute automatically in many cases so this should be considered low priority unless it becomes a blocker for someone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions