Difference between revisions of "AWS Load Balancer Controller"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
* https://docs.aws.amazon.com/eks/latest/userguide/aws-load-balancer-controller.html
 
* https://docs.aws.amazon.com/eks/latest/userguide/aws-load-balancer-controller.html
 
* https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.4/
 
* https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.4/
 +
 +
== Example ==
 +
apiVersion: v1
 +
kind: ServiceAccount
 +
metadata:
 +
  labels:
 +
    app.kubernetes.io/component: controller
 +
    app.kubernetes.io/name: aws-load-balancer-controller
 +
  name: aws-load-balancer-controller
 +
  namespace: [[kube-system]]
 +
  annotations:
 +
    eks.amazonaws.com/role-arn: arn:aws:iam::111122223333:role/AmazonEKSLoadBalancerControllerRole
 +
 +
 +
kubectl apply -f aws-load-balancer-controller-service-account.yaml
 +
serviceaccount/aws-load-balancer-controller created
  
 
==See also==
 
==See also==

Revision as of 19:58, 24 May 2022

AWS Load Balancer Controller 2018 (formerly AWS ALB Ingress Controller) is the open-source AWS ALB Ingress controller triggers the creation of an ALB and the necessary supporting AWS resources whenever a Kubernetes user declares an Ingress resource in the cluster.

Example

apiVersion: v1
kind: ServiceAccount
metadata:
  labels:
    app.kubernetes.io/component: controller
    app.kubernetes.io/name: aws-load-balancer-controller
  name: aws-load-balancer-controller
  namespace: kube-system
  annotations:
    eks.amazonaws.com/role-arn: arn:aws:iam::111122223333:role/AmazonEKSLoadBalancerControllerRole


kubectl apply -f aws-load-balancer-controller-service-account.yaml
serviceaccount/aws-load-balancer-controller created

See also

Advertising: