New TargetGroupBinding Custom Resource

When employing load balancers in AWS, the AWS Load Balancer Controller introduces a new capability through a custom resource (CR) called TargetGroupBinding. This CR enables you to expose your pods by associating them with an existing target group. With this approach, you can manage the load balancer independently of Kubernetes while utilizing the configuration specified in Kubernetes objects. If your operational workflows involve creating load balancers external to Kubernetes, TargetGroupBinding permits you to use the Target Group ARN instead of relying on Kubernetes annotations.

apiVersion: elbv2.k8s.aws/v1alpha1
kind: TargetGroupBinding
metadata:
  name: SearchFilterApp # create a new TargetGroupBinding 
spec:
  serviceRef:
    name: search-svc # route traffic to the search-svc
    port: 80
  targetGroupARN: <arn-of-targetGroup>        

要查看或添加评论,请登录

Mubashar S.的更多文章

  • How to export a hosted zone in AWS Route 53

    How to export a hosted zone in AWS Route 53

    Amazon Route 53 stands out as a dependable and efficient DNS service, connecting Internet traffic to the relevant…

  • Configuring ArgoCD on Amazon EKS

    Configuring ArgoCD on Amazon EKS

    Argo CD serves as a declarative continuous delivery tool designed for Kubernetes applications. Operating in the GitOps…

  • Expose And Access Private API in Amazon API-Gateway

    Expose And Access Private API in Amazon API-Gateway

    Within Amazon API Gateway, you have the capability to unveil private APIs accessible exclusively within your designated…

  • Use an Existing ALB/NLB for AWS EKS Cluster

    Use an Existing ALB/NLB for AWS EKS Cluster

    During that process they often face the issue where they would like to use an existing ALB or NLB to route traffic to…

社区洞察

其他会员也浏览了