Difference between revisions of "Configuring Pods to use a Kubernetes service account"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
     matchLabels:
 
     matchLabels:
 
       app: my-app
 
       app: my-app
   template:
+
   [[template]]:
 
     metadata:
 
     metadata:
 
       labels:
 
       labels:
 
         app: my-app
 
         app: my-app
     spec:
+
     [[spec:]]
 
       [[serviceAccountName]]: my-service-account
 
       [[serviceAccountName]]: my-service-account
 
       containers:
 
       containers:
 
       - name: my-app
 
       - name: my-app
 
         image: public.ecr.aws/nginx/nginx:X.XX
 
         image: public.ecr.aws/nginx/nginx:X.XX
 +
 +
 +
 +
[[kubectl describe pod]] my-app-6f4dfff6cb-76cv9 | grep [[AWS_ROLE_ARN]]:
 +
  
 
== Related ==
 
== Related ==
Line 26: Line 31:
  
 
== See also ==
 
== See also ==
 +
* {{Kubernetes service account}}
 
* {{EKS RBAC}}
 
* {{EKS RBAC}}
  
 
[[Category:EKS]]
 
[[Category:EKS]]

Latest revision as of 17:27, 6 September 2023

Advertising: