Difference between revisions of "Kind: ServiceAccount"

From wikieduonline
Jump to navigation Jump to search
Line 15: Line 15:
 
   annotations:
 
   annotations:
 
     eks.amazonaws.com/role-arn: arn:aws:iam::111122223333:role/AmazonEKSLoadBalancerControllerRole
 
     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
  
 
== Related ==
 
== Related ==

Revision as of 19:57, 24 May 2022


AWS Load Balancer Controller

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

Related

See also

Advertising: